44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"serverFilePath": "./src/server/Server.js",
|
|
"shardOptions": {
|
|
"respawn": false
|
|
},
|
|
"serverOptions": {
|
|
"serveFiles": "./files",
|
|
"callbackURL": "/api/login",
|
|
"http": {
|
|
"port": 4000
|
|
},
|
|
"validUserTypes": ["user", "service", "system"],
|
|
"registrationEnabled": true
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
} |