Commit | Line | Data |
---|---|---|
41534b92 BA |
1 | const Params = { |
2 | ||
3 | // Usage on client: | |
0d51d055 BA |
4 | http_server: "http://localhost:8000", //https://xogo.casa |
5 | socket_server: "ws://localhost:8080", //wss://xogo.casa | |
41534b92 BA |
6 | |
7 | // Usage on (socket) server: | |
8 | socket_port: 8080, //... | |
0e466aac | 9 | dev: true, |
41534b92 BA |
10 | |
11 | // Usage on both: | |
12 | socket_path: "/ws", | |
13 | ||
14 | }; | |
15 | ||
16 | // Next line for usage on server (Node.js) | |
17 | if (typeof window === 'undefined') module.exports = Params; |