95 lines
2.6 KiB
JSON
95 lines
2.6 KiB
JSON
{
|
|
"projectName": "webserver-framework",
|
|
"serverFilePath": "./server/Server.js",
|
|
"shardOptions": {
|
|
"respawn": true
|
|
},
|
|
"shardCount": 1,
|
|
"serverOptions": {
|
|
"serveFiles": "./files",
|
|
"callbackURL": "/api/login",
|
|
"http": {
|
|
"port": 4000
|
|
},
|
|
"validUserTypes": [
|
|
"user",
|
|
"service",
|
|
"system"
|
|
],
|
|
"registrationEnabled": true,
|
|
"requireCodeForRegister": true,
|
|
"OAuthProviders": [
|
|
{
|
|
"name": "Discord",
|
|
"authoriseURL": "https://discord.com/oauth2/authorize",
|
|
"tokenURL": "https://discord.com/api/v10/oauth2/token",
|
|
"profileURL": "https://discord.com/api/v10/users/@me",
|
|
"iconURL": "https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a69f118df70ad7828d4_icon_clyde_blurple_RGB.svg"
|
|
}
|
|
],
|
|
"discord": {
|
|
"scope": [
|
|
"identify"
|
|
],
|
|
"version": 10
|
|
}
|
|
},
|
|
"logger": {
|
|
"customTypes": [
|
|
"access",
|
|
"unauthorised"
|
|
],
|
|
"customStreams": [
|
|
"access",
|
|
"debug",
|
|
"unauthorised"
|
|
],
|
|
"customTypeMapping": {
|
|
"access": "access",
|
|
"debug": "debug",
|
|
"unauthorised": "unauthorised"
|
|
},
|
|
"customColours": {
|
|
"access": "#32a852",
|
|
"unauthorised": "#ba3240"
|
|
},
|
|
"logLevel": 0,
|
|
"logLevelMapping": {
|
|
"access": 2,
|
|
"unauthorised": 2
|
|
},
|
|
"broadcastLevel": 3
|
|
},
|
|
"databases": {
|
|
"messageBroker": {
|
|
"load": false
|
|
},
|
|
"mariadb": {
|
|
"load": false,
|
|
"client": {
|
|
"waitForConnections": true,
|
|
"connectionLimit": 20,
|
|
"supportBigNumbers": true,
|
|
"bigNumberStrings": false,
|
|
"multipleStatements": true,
|
|
"collation": "utf8mb4_general_ci"
|
|
},
|
|
"cluster": {
|
|
"canRetry": true,
|
|
"removeNodeErrorCount": 5,
|
|
"restoreNodeTimeout": 30000,
|
|
"defaultSelector": "RR"
|
|
},
|
|
"loggerOptions": {
|
|
"logLevel": 0
|
|
}
|
|
},
|
|
"mongodb": {
|
|
"load": true,
|
|
"client": {},
|
|
"loggerOptions": {
|
|
"logLevel": 0
|
|
}
|
|
}
|
|
}
|
|
} |