This commit is contained in:
mubai
2024-04-04 19:26:31 +08:00
parent 06df02e42e
commit fc60f4a538
12 changed files with 326 additions and 101 deletions

View File

@@ -13,7 +13,6 @@ export default defineConfig({
proxy: {
"/api": {
target: `http://127.0.0.1:3601`,
// target: `http://1.94.30.26:3601`,
changeOrigin: true, // 允许跨域
rewrite: path => path.replace(/^\/api/, '')
}