From 12c8eb5bc70a963cc96038785f6adf1408b3220d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=87=E8=88=AA?= <653809315@qq.com> Date: Wed, 31 Jul 2024 17:31:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/.env.development | 4 ++++ admin/.env.production | 4 ++++ admin/.gitignore | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 admin/.env.development create mode 100644 admin/.env.production diff --git a/admin/.env.development b/admin/.env.development new file mode 100644 index 0000000..8934792 --- /dev/null +++ b/admin/.env.development @@ -0,0 +1,4 @@ +NODE_ENV = 'development' + +# 请求域名 +VITE_APP_BASE_URL='http://127.0.0.1:8082' \ No newline at end of file diff --git a/admin/.env.production b/admin/.env.production new file mode 100644 index 0000000..e841ff9 --- /dev/null +++ b/admin/.env.production @@ -0,0 +1,4 @@ +NODE_ENV = 'production' + +# 请求域名 +VITE_APP_BASE_URL='' \ No newline at end of file diff --git a/admin/.gitignore b/admin/.gitignore index b844e9b..e57d6d4 100644 --- a/admin/.gitignore +++ b/admin/.gitignore @@ -31,5 +31,5 @@ components.d.ts *.sw? # .env -.env.development -.env.production +#.env.development +#.env.production