Browse Source

remove testing cruft

Kyle Klaus 5 năm trước cách đây
mục cha
commit
907e9e182d
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      backend/internal/access-list.js

+ 0 - 2
backend/internal/access-list.js

@@ -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
 			}