This commit is contained in:
liailing1026
2025-12-07 17:18:10 +08:00
committed by zhaoweijie
parent 6392301833
commit c00c0072b8
53 changed files with 16040 additions and 275 deletions

View File

@@ -46,9 +46,9 @@ export default defineConfig({
'/api': {
changeOrigin: true,
// 接口地址
target: 'http://localhost:8000',
rewrite: (path: string) =>
path.replace(/^\/api/, ''),
target: 'http://82.157.183.212:21092',
// rewrite: (path: string) =>
// path.replace(/^\/api/, ''),
configure: (proxy, options) => {
console.log('Proxy configured:', options)
}