webserver-framework/options.json

52 lines
1.7 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"],
2022-11-24 23:12:45 +01:00
"registrationEnabled": true,
2022-11-27 22:20:18 +01:00
"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"
}
]
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": { }
2022-11-09 10:23:54 +01:00
}
2022-11-06 18:36:13 +01:00
}
}