chore: read .env.local
This commit is contained in:
parent
9ca305de9e
commit
096d99f08a
@ -1,9 +1,15 @@
|
|||||||
|
import dotenv from "dotenv";
|
||||||
import express from "express";
|
import express from "express";
|
||||||
import ViteExpress from "vite-express";
|
import ViteExpress from "vite-express";
|
||||||
|
import { errorHandler } from "./error_handler.ts";
|
||||||
import MenuRouter from "./menu.ts";
|
import MenuRouter from "./menu.ts";
|
||||||
import OrderRouter from "./order.ts";
|
import OrderRouter from "./order.ts";
|
||||||
import "dotenv/config";
|
|
||||||
import { errorHandler } from "./error_handler.ts";
|
dotenv.config();
|
||||||
|
dotenv.config({
|
||||||
|
path: ".env.local",
|
||||||
|
override: true,
|
||||||
|
});
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user