WIP removing defaults from the example config file

This commit is contained in:
ansuz
2020-02-27 13:09:12 -05:00
parent 08941fa85b
commit 294a444603
3 changed files with 71 additions and 52 deletions

View File

@@ -1,7 +1,7 @@
/* jslint node: true */
"use strict";
var config;
var configPath = process.env.CRYPTPAD_CONFIG || "../config/config";
var configPath = process.env.CRYPTPAD_CONFIG || "../config/config.js";
try {
config = require(configPath);
if (config.adminEmail === 'i.did.not.read.my.config@cryptpad.fr') {