本地开发跨域配置,版本信息页面接口对接Mock数据

This commit is contained in:
付民康
2025-03-17 11:16:05 +08:00
parent ebcd74a34f
commit 8c68ceb413
4 changed files with 108 additions and 50 deletions

View File

@@ -5,10 +5,10 @@ VITE_ENV = 'development'
VITE_HOST = 'https://test.gitcode.net'
# 接口地址
VITE_API_HOST = 'https://test.gitcode.net'
VITE_API_HOST = '/official'
# devPress接口地址
VITE_DEV_API_HOST = 'https://test.gitcode.net'
VITE_DEV_API_HOST = '/official'
# devPress地址
VITE_DEV_HOST = 'https://test.gitcode.net'