From e78530bf3caac741e167289bab9fc00664e8c38a Mon Sep 17 00:00:00 2001 From: ayou <550244300@qq.com> Date: Thu, 23 Oct 2025 21:17:38 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加.env文件用于配置数据库连接、服务器地址和CORS设置 --- .env | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..19d6516 --- /dev/null +++ b/.env @@ -0,0 +1,7 @@ +DATABASE_URL=mysql://root:krl1JrYZLJekX2C3R@162.14.67.168:3306/qiandao + +# Server configuration +SERVER_ADDR=127.0.0.1:3001 + +# CORS configuration +FRONTEND_URL=http://localhost:5173 \ No newline at end of file