From 49b7822eb95e449998a4a59120ed3771102a0c94 Mon Sep 17 00:00:00 2001 From: xingyuv Date: Sun, 26 Mar 2023 21:02:38 +0800 Subject: [PATCH] chore: env reset --- .env.development | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index 268679f9..f76816d4 100644 --- a/.env.development +++ b/.env.development @@ -7,14 +7,14 @@ VITE_PUBLIC_PATH = / # 本地开发代理,可以解决跨域及多地址代理 # 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题 # 可以有多个,注意多个不能换行,否则代理将会失效 -VITE_PROXY = [["/dev-api","http://192.168.0.22:48080"],["/upload","http://192.168.0.22:48080/admin-api/infra/file/upload"]] +VITE_PROXY = [["/dev-api","http://localhost:48080"],["/upload","http://localhost:48080/admin-api/infra/file/upload"]] # VITE_PROXY=[["/api","http://vben.xingyuv.com/test"]] # 是否删除Console.log VITE_DROP_CONSOLE = false # 接口地址 -VITE_GLOB_BASE_URL = "http://192.168.0.22:48080" +VITE_GLOB_BASE_URL = "http://localhost:48080" # 如果没有跨域问题,直接在这里配置即可 VITE_GLOB_API_URL = /admin-api