Skip to content

Commit 5dbb0b9

Browse files
author
xialj
committed
Strings must use singlequote quotes
1 parent 700d908 commit 5dbb0b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backend/internal/nginx.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ const internalNginx = {
236236

237237
if ( nice_host_type === 'proxy_host' ) {
238238
let listen_ports = [];
239-
host.domain_names.map(function (domain_name) {
240-
if ( domain_name.indexOf(":") > 0 ){
241-
listen_ports.push(parseInt(domain_name.substring(domain_name.indexOf(":")+1)));
239+
host.domain_names.map( function (domain_name) {
240+
if ( domain_name.indexOf(':') > 0 ){
241+
listen_ports.push(parseInt(domain_name.substring(domain_name.indexOf(':')+1)));
242242
}
243243
});
244244
if ( listen_ports.length > 0 ){

0 commit comments

Comments
 (0)