server config

This commit is contained in:
Zutatensuppe 2020-11-07 12:21:38 +01:00
parent 9c1f7b9b2f
commit 2cdbdd484f
6 changed files with 50 additions and 32 deletions

13
server/config.example.js Normal file
View file

@ -0,0 +1,13 @@
const hostname = '127.0.0.1'
export default {
http: {
hostname: hostname,
port: 1337,
},
ws: {
hostname: hostname,
port: 1338,
connectstring: `ws://localhost:1338/ws`,
},
}