1

parent 8d88838b
...@@ -5,7 +5,7 @@ VITE_APP_ENV = 'development' ...@@ -5,7 +5,7 @@ VITE_APP_ENV = 'development'
VITE_APP_BASE_URL = '/api' VITE_APP_BASE_URL = '/api'
# 照片url路径 (开发环境) # 照片url路径 (开发环境)
# VITE_APP_IMG_URL = 'http://file.rhhzkj.com:8080' VITE_APP_IMG_URL = 'http://file.rhhzkj.com:8080'
# 照片url路径(正式环境) # 照片url路径(正式环境)
VITE_APP_IMG_URL = 'https://file.rddyz.com' # VITE_APP_IMG_URL = 'https://file.rddyz.com'
...@@ -41,8 +41,8 @@ export default defineConfig({ ...@@ -41,8 +41,8 @@ export default defineConfig({
// 代理配置 // 代理配置
proxy: { proxy: {
'/api': { '/api': {
// target: 'http://test.rhhzkj.com:8080', target: 'http://test.rhhzkj.com:8080',
target: 'https://api.rddyz.com', // target: 'https://api.rddyz.com',
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''), rewrite: (path) => path.replace(/^\/api/, ''),
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment