<commit_before>var config;
try {
    config = require("../config/config");
    if (config.adminEmail === '<EMAIL>') {
        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;
<commit_msg>make the config path configurable<commit_after>/* jslint node: true */
"use strict";
var config;
var configPath = process.env.CRYPTPAD_CONFIG || "../config/config";
try {
    config = require(configPath);
    if (config.adminEmail === '<EMAIL>') {
        console.log("You can configure the administrator email (adminEmail) in your config/config.js file");
    }
} catch (e) {
    console.log("Config not found, loading the example config. You can customize the configuration by copying config/config.example.js to " + configPath);
    config = require("../config/config.example");
}
module.exports = config;

{'fraction_non_alphanumeric': 0.14096499526963102, 'fraction_numerical': 0.0, 'mean_word_length': 3.8981481481481484, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '187827', 'n_tokens_mistral': 303, 'n_tokens_neox': 294, 'n_words': 91}