mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-02-02 01:38:15 -05:00
remove testing cruft
This commit is contained in:
parent
0f238a5021
commit
907e9e182d
@ -480,12 +480,10 @@ const internalAccessList = {
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
let htpasswd_file = internalAccessList.getFilename(list);
|
||||
let nginx_file = internalAccessList.getFilename(list) + '.conf';
|
||||
|
||||
// 1. remove any existing access file
|
||||
try {
|
||||
fs.unlinkSync(htpasswd_file);
|
||||
fs.unlinkSync(nginx_file);
|
||||
} catch (err) {
|
||||
// do nothing
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user