From 64a96d8df0723d81589a52f10dd70583f561b0fb Mon Sep 17 00:00:00 2001 From: gilbert-yuan Date: Thu, 23 Oct 2025 10:02:01 +0800 Subject: [PATCH] [feat] s --- server/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app.js b/server/app.js index 6928092..a0a88ef 100644 --- a/server/app.js +++ b/server/app.js @@ -2,10 +2,10 @@ const express = require('express'); const cors = require('cors'); const helmet = require('helmet'); const rateLimit = require('express-rate-limit'); -require('dotenv').config(); +import dotenv from 'dotenv'; const apiRoutes = require('./routes/api'); - +dotenv.config(); const app = express(); const PORT = process.env.PORT || 3001;