Maybe we can finally get rid of these code bits which shouldn't be required ?
[xogo.git] / parameters.js.dist
CommitLineData
41534b92
BA
1const Params = {
2
3 // Usage on client:
4 http_server: "http://localhost:8000", //https://xogo.live
5 socket_server: "ws://localhost:8080", //wss://xogo.live
6
7 // Usage on (socket) server:
8 socket_port: 8080, //...
9
10 // Usage on both:
11 socket_path: "/ws",
12
13};
14
15// Next line for usage on server (Node.js)
16if (typeof window === 'undefined') module.exports = Params;