You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
451 B
JavaScript
13 lines
451 B
JavaScript
6 years ago
|
var config;
|
||
|
try {
|
||
|
config = require("../config/config");
|
||
|
if (config.adminEmail === 'i.did.not.read.my.config@cryptpad.fr') {
|
||
|
console.log("You can configure the administrator email (adminEmail) in your config/config.js file");
|
||
|
}
|
||
|
} catch (e) {
|
||
|
console.log("You can customize the configuration by copying config/config.example.js to config/config.js");
|
||
|
config = require("../config/config.example");
|
||
|
}
|
||
|
module.exports = config;
|
||
|
|