diff options
-rwxr-xr-x | client/index.html | 2 | ||||
-rwxr-xr-x | client/main.js | 2 | ||||
-rwxr-xr-x | server/server.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/index.html b/client/index.html index 2d5c071..b337c1d 100755 --- a/client/index.html +++ b/client/index.html @@ -3,7 +3,7 @@ <head>
<script>
//window.version = "3.0";
- window.version = "3.1-beta.2023-09-28";
+ window.version = "3.1-beta.2023-10-03";
window.betaVersion = true;
window.changeLog = `
Thanks for using Chatroom. You are currently running Chatroom version %1, below are all the changes in that version compared to the previous version.
diff --git a/client/main.js b/client/main.js index acede07..acd39f8 100755 --- a/client/main.js +++ b/client/main.js @@ -85,7 +85,7 @@ const createWindow = () => { });
windows.push(screenSharingWindow);
- screenSharingWindow.loadURL("file://" + encodeURI(global._localchatPath) + "/screen.html?" + url + "#" + id);
+ screenSharingWindow.loadURL("file://" + encodeURI(global._localchatPath.replaceAll("\\", "/")) + "/screen.html?" + url + "#" + id);
if (os.platform() === "win32") screenSharingWindow.setContentProtection(true);
});
diff --git a/server/server.js b/server/server.js index 40f9736..632b8fe 100755 --- a/server/server.js +++ b/server/server.js @@ -128,7 +128,7 @@ readline.question("Enter the IP address users would use to connect to the server log("Generating remote server configuration...");
fs.writeFileSync("./exports/remote.lctsc", zlib.brotliCompressSync(JSON.stringify({
address: "ws://" + serverConnectAddress + ":" + ports[0],
- screenSharing: "ws://127.0.0.1:" + ports[1],
+ screenSharing: "ws://" + serverConnectAddress + ":" + ports[1],
key: verify.publicKey
})));
log("Generated server configuration files to local.lctsc and remote.lctsc");
|