fix: gateway routes /api/runtime-config to users service (was missing, causing 404)
This commit is contained in:
parent
f37c48f1ee
commit
1ac60f9756
1 changed files with 4 additions and 0 deletions
|
|
@ -202,6 +202,10 @@ impl Services {
|
||||||
else if path.starts_with("/api/admin/runtime-configs") {
|
else if path.starts_with("/api/admin/runtime-configs") {
|
||||||
Some(self.users_url.clone())
|
Some(self.users_url.clone())
|
||||||
}
|
}
|
||||||
|
// User-facing runtime config (role + permissions bundle)
|
||||||
|
else if path.starts_with("/api/runtime-config") {
|
||||||
|
Some(self.users_url.clone())
|
||||||
|
}
|
||||||
// Catch-all for any other admin endpoints → users service
|
// Catch-all for any other admin endpoints → users service
|
||||||
else if path.starts_with("/api/admin/") {
|
else if path.starts_with("/api/admin/") {
|
||||||
Some(self.users_url.clone())
|
Some(self.users_url.clone())
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue