diff --git a/src/server.ts b/src/server.ts index d955ce2..c1b36b9 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,5 +1,5 @@ import * as dotenv from "dotenv"; -dotenv.config(); +dotenv.config({ path: __dirname+'/.env' }); import cors from 'cors'; import express from 'express';