diff --git a/backend/config.ts b/backend/config.ts deleted file mode 100644 index 8fd8ec3f..00000000 --- a/backend/config.ts +++ /dev/null @@ -1,10 +0,0 @@ -// Can be placed in dotenv but found it redundant - -// Import dotenv from "dotenv"; - -// Load .env file -// Dotenv.config(); - -export const DWENGO_API_BASE = 'https://dwengo.org/backend/api'; - -export const FALLBACK_LANG = 'nl'; diff --git a/backend/src/util/translationHelper.ts b/backend/src/util/translationHelper.ts index 650d9843..815a685a 100644 --- a/backend/src/util/translationHelper.ts +++ b/backend/src/util/translationHelper.ts @@ -1,7 +1,7 @@ import fs from 'fs'; import path from 'path'; import yaml from 'js-yaml'; -import { FALLBACK_LANG } from '../../config.js'; +import { FALLBACK_LANG } from '../config.js'; import { getLogger, Logger } from '../logging/initalize.js'; const logger: Logger = getLogger();