12 lines
493 B
TypeScript
12 lines
493 B
TypeScript
import { EnvVars, getEnvVar } from './util/envvars.js';
|
|
import { Language } from './entities/content/language.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 LOKI_HOST: string = process.env.LOKI_HOST || 'http://localhost:3102';
|
|
|
|
export const FALLBACK_SEQ_NUM = 1;
|