2022-11-06 18:36:13 +01:00
|
|
|
{
|
2022-11-10 15:07:38 +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"]
|
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,
|
|
|
|
"bigNumberStrings": true,
|
|
|
|
"multipleStatements": true,
|
|
|
|
"collation": "utf8mb4_general_ci"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mongodb": {
|
|
|
|
"load": true,
|
|
|
|
"client": {
|
|
|
|
"useNewUrlParser": true
|
|
|
|
}
|
|
|
|
}
|
2022-11-06 18:36:13 +01:00
|
|
|
}
|
|
|
|
}
|