New variant idea
[xogo.git] / parameters.js.dist
1 const 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)
16 if (typeof window === 'undefined') module.exports = Params;