Skip to content
Extraits de code Groupes Projets
Valider 35b2759b rédigé par pacien's avatar pacien
Parcourir les fichiers

discordas: (re)apply config overrides from environment

Re-applying a change from eb89fc10 which got lost during merge f162d603.
parent a54f89c7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -138,6 +138,7 @@ async function run() {
throw Error("Config is not of type object");
}
config.applyConfig(readConfig);
config.applyEnvironmentOverrides(process.env);
Log.Configure(config.logging);
if (config.database.roomStorePath || config.database.userStorePath) {
log.error("The keys 'roomStorePath' and/or 'userStorePath' is still defined in the config. " +
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter