mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-14 17:46:00 +08:00
now using node-object-hash added a configuratoin property to enable/disable hashing part of #2389 and #2250
21 lines
546 B
JavaScript
21 lines
546 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 = {
|
|
maintenance: false,
|
|
quoteReport: {
|
|
enabled: false,
|
|
maxReports: 0,
|
|
contentReportLimit: 0,
|
|
},
|
|
quoteSubmit: {
|
|
enabled: false,
|
|
},
|
|
resultObjectHashCheck: {
|
|
enabled: false,
|
|
},
|
|
};
|
|
|
|
module.exports = BASE_CONFIGURATION;
|