fix: lange foutmeldingen en debug logging afgezet

This commit is contained in:
Laure Jablonski 2025-03-12 21:28:46 +01:00
parent 9626de951e
commit 897549a1e0

View file

@ -1,9 +1,10 @@
import { EnvVars, getEnvVar } from './util/envvars.js';
// API
export const DWENGO_API_BASE = getEnvVar(EnvVars.LearningContentRepoApiBaseUrl);
export const FALLBACK_LANG = getEnvVar(EnvVars.FallbackLanguage);
// Logging
export const LOG_LEVEL: string = 'development' === process.env.NODE_ENV ? 'debug' : 'info';
export const LOG_LEVEL: string = 'info';
export const LOKI_HOST: string = process.env.LOKI_HOST || 'http://localhost:3102';