mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-26 17:12:27 +00:00
Strings must use singlequote quotes
This commit is contained in:
parent
700d908abd
commit
5dbb0b921e
@ -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…
x
Reference in New Issue
Block a user