mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
5beb1bf619
* Update Configuration to handle arrays * Add new db client * Add comment
21 lines
561 B
JavaScript
21 lines
561 B
JavaScript
/**
|
|
* This is the base schema for the configuration of the API backend.
|
|
* To add a new configuration. Simply add it to this object.
|
|
* When changing this template, please follow the principle of "Secure by default" (https://en.wikipedia.org/wiki/Secure_by_default).
|
|
*/
|
|
const BASE_CONFIGURATION = Object.freeze({
|
|
maintenance: false,
|
|
quoteReport: {
|
|
enabled: false,
|
|
maxReports: 0,
|
|
contentReportLimit: 0,
|
|
},
|
|
quoteSubmit: {
|
|
enabled: false,
|
|
},
|
|
resultObjectHashCheck: {
|
|
enabled: false,
|
|
},
|
|
});
|
|
|
|
module.exports = BASE_CONFIGURATION;
|