Explorar el Código

前端配置修改

zuohuaijun hace 3 años
padre
commit
b0d1b7fe87
Se han modificado 3 ficheros con 6 adiciones y 6 borrados
  1. 2 2
      Vben2/.env
  2. 2 2
      Vben2/.env.development
  3. 2 2
      Vben2/.env.production

+ 2 - 2
Vben2/.env

@@ -2,7 +2,7 @@
 VITE_PORT = 3100
 
 # spa-title
-VITE_GLOB_APP_TITLE = Admin.NET
+VITE_GLOB_APP_TITLE = Admin_NET
 
 # spa shortname
-VITE_GLOB_APP_SHORT_NAME = Admin.NET
+VITE_GLOB_APP_SHORT_NAME = Admin_NET

+ 2 - 2
Vben2/.env.development

@@ -6,7 +6,7 @@ VITE_PUBLIC_PATH = /
 
 # Cross-domain proxy, you can configure multiple
 # Please note that no line breaks
-VITE_PROXY = [["/api","https://localhost:5005"]]
+VITE_PROXY = [["/api","https://localhost:44326"]]
 
 # Delete console
 VITE_DROP_CONSOLE = false
@@ -15,7 +15,7 @@ VITE_DROP_CONSOLE = false
 VITE_GLOB_API_URL=/api
 
 # File upload address, optional
-VITE_GLOB_UPLOAD_URL=https://localhost:5005
+VITE_GLOB_UPLOAD_URL=https://localhost:44326
 
 # Interface prefix
 VITE_GLOB_API_URL_PREFIX=

+ 2 - 2
Vben2/.env.production

@@ -16,11 +16,11 @@ VITE_BUILD_COMPRESS = 'none'
 VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
 
 # Basic interface address SPA
-VITE_GLOB_API_URL=https://localhost:44326
+VITE_GLOB_API_URL=https://localhost:5005
 
 # File upload address, optional
 # It can be forwarded by nginx or write the actual address directly
-VITE_GLOB_UPLOAD_URL=https://localhost:44326
+VITE_GLOB_UPLOAD_URL=https://localhost:5005
 
 # Interface prefix
 VITE_GLOB_API_URL_PREFIX=