mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	Fix bugs from feedback
This commit is contained in:
		| @@ -195,11 +195,11 @@ const internalAccessList = { | ||||
| 		); | ||||
|  | ||||
| 		await internalAccessList.build(freshRow) | ||||
| 		if (Number.parseInt(row.proxy_host_count, 10)) { | ||||
| 			await internalNginx.bulkGenerateConfigs("proxy_host", row.proxy_hosts); | ||||
| 		if (Number.parseInt(freshRow.proxy_host_count, 10)) { | ||||
| 			await internalNginx.bulkGenerateConfigs("proxy_host", freshRow.proxy_hosts); | ||||
| 		} | ||||
| 		await internalNginx.reload(); | ||||
| 		return internalAccessList.maskItems(row); | ||||
| 		return internalAccessList.maskItems(freshRow); | ||||
| 	}, | ||||
|  | ||||
| 	/** | ||||
|   | ||||
| @@ -381,14 +381,14 @@ const internalNginx = { | ||||
| 	}, | ||||
|  | ||||
| 	/** | ||||
| 	 * @param   {String}  host_type | ||||
| 	 * @param   {String}  hostType | ||||
| 	 * @param   {Array}   hosts | ||||
| 	 * @returns {Promise} | ||||
| 	 */ | ||||
| 	bulkGenerateConfigs: (host_type, hosts) => { | ||||
| 	bulkGenerateConfigs: (hostType, hosts) => { | ||||
| 		const promises = []; | ||||
| 		hosts.map((host) => { | ||||
| 			promises.push(internalNginx.generateConfig(host_type, host)); | ||||
| 			promises.push(internalNginx.generateConfig(hostType, host)); | ||||
| 			return true; | ||||
| 		}); | ||||
|  | ||||
|   | ||||
| @@ -172,7 +172,7 @@ export default function DefaultSite() { | ||||
| 													<span className="form-selectgroup-check" /> | ||||
| 												</div> | ||||
| 												<div> | ||||
| 													<T id="settings.default-site.redirect" /> | ||||
| 													<T id="settings.default-site.html" /> | ||||
| 												</div> | ||||
| 											</div> | ||||
| 										</label> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user