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