projects
/
henge
/
kiak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e7872
)
strapp.io hostname hardcoded
author
ken
<ken@mihrtec.com>
Fri, 23 Jun 2017 04:10:18 +0000
(21:10 -0700)
committer
ken
<ken@mihrtec.com>
Fri, 23 Jun 2017 04:10:18 +0000
(21:10 -0700)
main.js
patch
|
blob
|
history
diff --git
a/main.js
b/main.js
index
4c03b60
..
9153f76
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'))
- response.write(str.replace("$HOST",
new_route.host.slice(7)
).replace("$PORT",new_route.port))
+ response.write(str.replace("$HOST",
"wss://www.strapp.io"
).replace("$PORT",new_route.port))
response.end()
})
}