After refactoring. Seems more or less ok
[xogo.git] / parameters.js.dist
... / ...
CommitLineData
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 dev: true,
10
11 // Usage on both:
12 socket_path: "/ws",
13
14};
15
16// Next line for usage on server (Node.js)
17if (typeof window === 'undefined') module.exports = Params;