webserver-framework/options.json

44 lines
1.2 KiB
JSON
Raw Normal View History

2022-11-06 18:36:13 +01:00
{
"serverFilePath": "./src/server/Server.js",
2022-11-06 18:36:13 +01:00
"shardOptions": {
"respawn": false
},
"serverOptions": {
2022-11-10 15:14:02 +01:00
"serveFiles": "./files",
2022-11-09 10:23:54 +01:00
"callbackURL": "/api/login",
"http": {
"port": 4000
2022-11-09 16:09:05 +01:00
},
"validUserTypes": ["user", "service", "system"],
"registrationEnabled": true
2022-11-09 10:23:54 +01:00
},
"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,
2022-11-20 17:36:05 +01:00
"bigNumberStrings": false,
2022-11-09 10:23:54 +01:00
"multipleStatements": true,
"collation": "utf8mb4_general_ci"
}
},
"mongodb": {
"load": true,
"client": {
"useNewUrlParser": true
}
}
2022-11-06 18:36:13 +01:00
}
}