mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
4f2aef02cd
commit
5c4fc9b437
1 changed files with 2 additions and 2 deletions
|
|
@ -99,8 +99,8 @@
|
|||
if (lConfig.server) {
|
||||
if(lSSL){
|
||||
var lRedirectServer = http.createServer( function(pReq, pRes){
|
||||
var lParsedUrl = URL.parse(pReq.url),
|
||||
lHost = lParsedUrl.hostname;
|
||||
var lHost = pReq.headers.host;
|
||||
|
||||
main.redirect({
|
||||
response: pRes,
|
||||
url: 'https://' + lHost + pReq.url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue