You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-02 16:53:15 +03:00 
			
		
		
		
	remove testing cruft
This commit is contained in:
		@@ -480,12 +480,10 @@ const internalAccessList = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		return new Promise((resolve, reject) => {
 | 
							return new Promise((resolve, reject) => {
 | 
				
			||||||
			let htpasswd_file = internalAccessList.getFilename(list);
 | 
								let htpasswd_file = internalAccessList.getFilename(list);
 | 
				
			||||||
			let nginx_file = internalAccessList.getFilename(list) + '.conf';
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
			// 1. remove any existing access file
 | 
								// 1. remove any existing access file
 | 
				
			||||||
			try {
 | 
								try {
 | 
				
			||||||
				fs.unlinkSync(htpasswd_file);
 | 
									fs.unlinkSync(htpasswd_file);
 | 
				
			||||||
				fs.unlinkSync(nginx_file);
 | 
					 | 
				
			||||||
			} catch (err) {
 | 
								} catch (err) {
 | 
				
			||||||
				// do nothing
 | 
									// do nothing
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user