2022-02-01 05:47:58 +08:00
|
|
|
/**
|
|
|
|
* 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).
|
|
|
|
*/
|
2022-02-03 02:26:43 +08:00
|
|
|
const BASE_CONFIGURATION = Object.freeze({
|
2022-02-01 05:47:58 +08:00
|
|
|
maintenance: false,
|
|
|
|
quoteReport: {
|
|
|
|
enabled: false,
|
|
|
|
maxReports: 0,
|
|
|
|
contentReportLimit: 0,
|
|
|
|
},
|
|
|
|
quoteSubmit: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
2022-02-01 20:13:59 +08:00
|
|
|
resultObjectHashCheck: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
2022-02-03 02:26:43 +08:00
|
|
|
});
|
2022-02-01 05:47:58 +08:00
|
|
|
|
|
|
|
module.exports = BASE_CONFIGURATION;
|