projects
/
henge
/
kiak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor update
[henge/kiak.git]
/
main.js
diff --git
a/main.js
b/main.js
index
9153f76
..
2db2240
100644
(file)
--- a/
main.js
+++ b/
main.js
@@
-38,7
+38,7
@@
const https_router = https.createServer(https_router_opts, (request, response) =
https_routes[ht_argv[0]] = new_route
}).then(() => {
let str = String(fs.readFileSync('remote-server.html'))
https_routes[ht_argv[0]] = new_route
}).then(() => {
let str = String(fs.readFileSync('remote-server.html'))
- response.write(str.replace("$HOST","w
ss://w
ww.strapp.io").replace("$PORT",new_route.port))
+ response.write(str.replace("$HOST","www.strapp.io").replace("$PORT",new_route.port))
response.end()
})
}
response.end()
})
}