devmode warning(error) messages

This commit is contained in:
Leon Meier 2025-03-09 18:30:23 +01:00
parent 66f0bebc9d
commit 2cbde4e344

View File

@ -90,7 +90,9 @@ app.listen(config.global.http_port, config.global.http_listen_address, () => {
}); });
log.core.trace('Running from path: ' + __path); log.core.trace('Running from path: ' + __path);
config.global.devmode && log.core.error('DEVMODE ACTIVE! Do NOT use this in prod!'); config.global.devmode && log.core.error('DEVMODE ACTIVE! Do NOT use this in prod! (silly/trace/debug logging enabled, test route enabled, security features disabled )');
config.global.devmode_fileupload && log.core.error('DEVMODE ACTIVE! Do NOT use this in prod! (express-fileupload debug mode)');
// MARK: Helper Functions // MARK: Helper Functions
function buildEtaEngine() { function buildEtaEngine() {