From 309f9b9b1dbb1fc2811ea603e4ac67e5395397fb Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 22 Jun 2017 21:10:18 -0700 Subject: [PATCH] strapp.io hostname hardcoded --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }) } -- 2.18.0