Skip to content

Commit f6c32c1

Browse files
committed
Fix port comparison to handle numeric values from proxy cache
1 parent 97fbe04 commit f6c32c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builders/_drupaly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ module.exports = {
305305
let port = '';
306306
if (ports) {
307307
const activePort = ssl ? ports.https : ports.http;
308-
if (activePort && ((ssl && activePort !== '443') || (!ssl && activePort !== '80'))) {
308+
if (activePort && ((ssl && activePort !== 443) || (!ssl && activePort !== 80))) {
309309
port = `:${activePort}`;
310310
}
311311
}

0 commit comments

Comments
 (0)