From: ken Date: Fri, 23 Jun 2017 04:10:18 +0000 (-0700) Subject: strapp.io hostname hardcoded X-Git-Url: https://git.kengrimes.com/?p=henge%2Fkiak.git;a=commitdiff_plain;h=309f9b9b1dbb1fc2811ea603e4ac67e5395397fb strapp.io hostname hardcoded --- diff --git a/main.js b/main.js index 4c03b60..9153f76 100644 --- 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() }) }