webserver-framework/options.json

42 lines
1.1 KiB
JSON

{
"filePath": "./src/server/Server.js",
"shardOptions": {
"respawn": false
},
"serverOptions": {
"callbackURL": "/api/login",
"http": {
"port": 4000
},
"validUserTypes": ["user", "service", "system"]
},
"logger": {
"customTypes": ["access", "unauthorised"],
"customStreams": ["access", "debug", "unauthorised"],
"customTypeMapping": {"access": "access", "debug": "debug", "unauthorised": "unauthorised"},
"customColors": {"access": "green", "unauthorised": "red"}
},
"discord": {
"scope": ["identify"],
"version": 10
},
"databases": {
"mariadb": {
"load": false,
"client": {
"waitForConnections": true,
"connectionLimit": 20,
"supportBigNumbers": true,
"bigNumberStrings": true,
"multipleStatements": true,
"collation": "utf8mb4_general_ci"
}
},
"mongodb": {
"load": true,
"client": {
"useNewUrlParser": true
}
}
}
}