dotenv config
This commit is contained in:
+1
-4
@@ -1,3 +1,4 @@
|
||||
import 'dotenv/config';
|
||||
import 'reflect-metadata';
|
||||
import { BasicQueryDTO } from './api/index.js';
|
||||
import { validate } from 'class-validator';
|
||||
@@ -7,10 +8,6 @@ import dotenv from "dotenv";
|
||||
import session from "express-session";
|
||||
import path from 'node:path';
|
||||
|
||||
dotenv.config({
|
||||
path: `.env.server.${process.env.NODE_ENV}`
|
||||
});
|
||||
|
||||
export async function test() {
|
||||
console.log("Hello World!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user