修复csrftoken的问题

This commit is contained in:
2026-04-13 11:38:32 +08:00
parent e5fddfa5a6
commit a9096a858c
3 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ export default defineConfig({
proxy: {
"/api": {
// target: "http://192.168.71.2:8080/", // 家
target: "http://192.168.1.23:8080/", // 公司
target: "http://192.168.1.36:8080/", // 公司
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ""),
}