From 1a54d1eab584831995517e047371ccab9fe9aba0 Mon Sep 17 00:00:00 2001 From: zhangchen <1652267879@qq.com> Date: 星期二, 01 七月 2025 19:06:41 +0800 Subject: [PATCH] 环境变量文件取消git忽略 --- .env.development | 6 ++++++ .gitignore | 4 ++-- .env.production | 6 ++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..6c475a1 --- /dev/null +++ b/.env.development @@ -0,0 +1,6 @@ +# 本地环境 +VITE_ENV=development + +VITE_API_BASE_URL=https://testbs.ihemodialysis.com + +VITE_SSE_BASE_URL=http://testbs.ihemodialysis.com/sse/sseEvent/ \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..fc30470 --- /dev/null +++ b/.env.production @@ -0,0 +1,6 @@ +# 生产环境 +VITE_ENV=production + +VITE_API_BASE_URL=https://backend.ihemodialysis.com + +VITE_SSE_BASE_URL=https://backend.ihemodialysis.com/sse/sseEvent/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index e1dfe62..8e1df0f 100644 --- a/.gitignore +++ b/.gitignore @@ -24,5 +24,5 @@ *.sw? # 环境变量 -.env.development -.env.production +# .env.development +# .env.production -- Gitblit v1.8.0