feat: fix non-standard CAS bug (#4146)

This commit is contained in:
Attack825
2025-09-03 20:20:08 +08:00
committed by GitHub
parent 01000f7022
commit ad240a373f
2 changed files with 39 additions and 5 deletions

View File

@@ -20,26 +20,34 @@ module.exports = {
target: "http://localhost:8000",
changeOrigin: true,
},
"/cas/serviceValidate": {
"/cas/**/serviceValidate": {
target: "http://localhost:8000",
changeOrigin: true,
},
"/cas/proxyValidate": {
"/cas/**/proxyValidate": {
target: "http://localhost:8000",
changeOrigin: true,
},
"/cas/proxy": {
"/cas/**/proxy": {
target: "http://localhost:8000",
changeOrigin: true,
},
"/cas/validate": {
"/cas/**/validate": {
target: "http://localhost:8000",
changeOrigin: true,
},
"/cas/**/p3/serviceValidate": {
target: "http://localhost:8000",
changeOrigin: true,
},
"/cas/**/p3/proxyValidate": {
target: "http://localhost:8000",
changeOrigin: true,
},
"/scim": {
target: "http://localhost:8000",
changeOrigin: true,
}
},
},
},
plugins: [