fix: 功能优化,页面性能优化。
This commit is contained in:
@@ -40,8 +40,8 @@ export default defineConfig(({ mode, command }) => {
|
||||
proxy: {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
'/dev-api': {
|
||||
// target: 'http://203.0.105.106:8288',
|
||||
target: 'http://127.0.0.1:8080',
|
||||
target: 'http://81.70.19.60:8288',
|
||||
// target: 'http://127.0.0.1:8080',
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user