mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-07 06:18:03 +03:00
use dotenv for proper barrelling in env.ts
This commit is contained in:
Vendored
+2
@@ -1,4 +1,6 @@
|
||||
// barrel file for re-exporting env variables.
|
||||
import dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
|
||||
const envVars = [
|
||||
"KTBKS_MONGO_BASE_URL",
|
||||
|
||||
@@ -14,10 +14,8 @@ function FormatVersion() {
|
||||
import CreateLogCtx from "./lib/logger/logger";
|
||||
import server from "./server/server";
|
||||
import serverConfig from "./server/server-config";
|
||||
import dotenv from "dotenv";
|
||||
import { LOG_LEVEL } from "./lib/env/env";
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user