diff --git a/public/default/config.js b/public/default/config.js index 3b6e9858..7696cf78 100644 --- a/public/default/config.js +++ b/public/default/config.js @@ -11,8 +11,9 @@ */ (function () { // host = ip:port - const host = '192.168.8.100:33030'; - + // const host = '192.168.8.100:33030'; + const host = `${window.location.hostname}:33030`; + // Service Address sessionStorage.setItem('baseUrl', `http://${host}`); // websocket Address