Strings must use singlequote quotes

This commit is contained in:
xialj 2023-08-01 00:17:40 +08:00
parent 5dbb0b921e
commit 145fe2d24f

View File

@ -235,7 +235,7 @@ const internalNginx = {
if ( nice_host_type === 'proxy_host' ) {
let listen_ports = [];
let listen_ports = [];
host.domain_names.map( function (domain_name) {
if ( domain_name.indexOf(':') > 0 ){
listen_ports.push(parseInt(domain_name.substring(domain_name.indexOf(':')+1)));