Strings must use singlequote quotes
This commit is contained in:
parent
700d908abd
commit
5dbb0b921e
1 changed files with 3 additions and 3 deletions
|
@ -237,8 +237,8 @@ const internalNginx = {
|
||||||
if ( nice_host_type === 'proxy_host' ) {
|
if ( nice_host_type === 'proxy_host' ) {
|
||||||
let listen_ports = [];
|
let listen_ports = [];
|
||||||
host.domain_names.map( function (domain_name) {
|
host.domain_names.map( function (domain_name) {
|
||||||
if ( domain_name.indexOf(":") > 0 ){
|
if ( domain_name.indexOf(':') > 0 ){
|
||||||
listen_ports.push(parseInt(domain_name.substring(domain_name.indexOf(":")+1)));
|
listen_ports.push(parseInt(domain_name.substring(domain_name.indexOf(':')+1)));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if ( listen_ports.length > 0 ){
|
if ( listen_ports.length > 0 ){
|
||||||
|
|
Loading…
Reference in a new issue