fix: local env bestand teruggezet en logging teruggezet

This commit is contained in:
Laure Jablonski 2025-03-12 22:34:32 +01:00
parent 656f7f15b7
commit f806219777
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"build": "NODE_ENV=production tsc --project tsconfig.json",
"dev": "cross-env NODE_ENV=development tsx watch src/app.ts",
"dev": "cross-env NODE_ENV=development tsx watch --env-file=.env.development.local src/app.ts",
"start": "NODE_ENV=production node --env-file=.env dist/app.js",
"format": "prettier --write src/",
"format-check": "prettier --check src/",

View file

@ -6,5 +6,5 @@ export const DWENGO_API_BASE = getEnvVar(EnvVars.LearningContentRepoApiBaseUrl);
export const FALLBACK_LANG = getEnvVar(EnvVars.FallbackLanguage);
// Logging
export const LOG_LEVEL: string = 'info';
export const LOG_LEVEL: string = 'development' === process.env.NODE_ENV ? 'debug' : 'info';
export const LOKI_HOST: string = process.env.LOKI_HOST || 'http://localhost:3102';