修复csrftoken的问题
This commit is contained in:
@@ -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/, ""),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user