diff options
Diffstat (limited to 'src/cdn/start.ts')
-rw-r--r-- | src/cdn/start.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cdn/start.ts b/src/cdn/start.ts index c22984fa..4b619c25 100644 --- a/src/cdn/start.ts +++ b/src/cdn/start.ts @@ -1,6 +1,5 @@ require("module-alias/register"); -import dotenv from "dotenv"; -dotenv.config(); +import "dotenv/config"; import { CDNServer } from "./Server"; const server = new CDNServer({ port: Number(process.env.PORT) || 3003 }); |