We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6059d9f commit bc4eb72Copy full SHA for bc4eb72
coder-base/server.js
@@ -263,7 +263,7 @@ params.extend( redirectapp );
263
redirectapp.engine( 'html', cons.mustache );
264
redirectapp.all( /.*/, function( req, res ) {
265
util.log( 'redirect: ' + getHost(req) + " " + config.httpsVisiblePort + " " + req.url );
266
- res.redirect("https://" + getHost(req) + ":" + config.httpsVisiblePort + req.url);
+ res.redirect("https://" + req.host + ":" + config.httpsVisiblePort + req.url);
267
});
268
269
startSSL();
0 commit comments