Refactor YARP routes and update configurations

Renamed the `receiver-ui-receiver` route to `receiver-ui-root` and updated its `Order` value from `100` to `300`. Changed the `Match` path for `receiver-ui-root` from `/receiver/{**catch-all}` to `/`. Removed the `receiver-ui-login` route entirely.

Added a `Transforms` section to the `receiver-ui-root` and `receiver-ui-sender` routes, setting the path to `/index.html`.
This commit is contained in:
2026-06-11 11:38:19 +02:00
parent 9dc2b9adef
commit 9eee2b523d

View File

@@ -1,21 +1,16 @@
{
"ReverseProxy": {
"Routes": {
"receiver-ui-receiver": {
"receiver-ui-root": {
"ClusterId": "receiver-ui",
"Order": 100,
"Order": 300,
"Match": {
"Path": "/receiver/{**catch-all}",
"Path": "/",
"Methods": [ "GET", "HEAD" ]
}
},
"receiver-ui-login": {
"ClusterId": "receiver-ui",
"Order": 100,
"Match": {
"Path": "/login/{**catch-all}",
"Methods": [ "GET", "HEAD" ]
}
},
"Transforms": [
{ "PathSet": "/index.html" }
]
},
"receiver-ui-sender": {
"ClusterId": "receiver-ui",
@@ -23,7 +18,10 @@
"Match": {
"Path": "/sender/{**catch-all}",
"Methods": [ "GET", "HEAD" ]
}
},
"Transforms": [
{ "PathSet": "/index.html" }
]
},
"receiver-ui-envelope": {
"ClusterId": "receiver-ui",