Skip to content

Commit 737c9e4

Browse files
committed
chore: load .env file
1 parent 4467713 commit 737c9e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vite-server.ts

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import express from "express";
55
import { fileURLToPath } from "node:url";
66
import { createServer as createViteServer } from "vite";
77
import { matchPath } from "@stormkit/serverless/router";
8+
import dotenv from "dotenv";
9+
10+
dotenv.config();
811

912
const __dirname = path.dirname(fileURLToPath(import.meta.url));
1013

0 commit comments

Comments
 (0)