From 2cbde4e34479ca1a598415802f9de7ca1ba2cdc2 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Sun, 9 Mar 2025 18:30:23 +0100 Subject: [PATCH] devmode warning(error) messages --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6b755de..864b1c6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -90,7 +90,9 @@ app.listen(config.global.http_port, config.global.http_listen_address, () => { }); 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 function buildEtaEngine() {