chore: read .env.local

This commit is contained in:
monoid 2024-05-03 12:07:00 +09:00
parent 9ca305de9e
commit 096d99f08a

View File

@ -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();