fix: gateway routes /api/runtime-config to users service (was missing, causing 404)

This commit is contained in:
Tracewebstudio Dev 2026-04-22 01:13:59 +02:00
parent f37c48f1ee
commit 1ac60f9756

View file

@ -202,6 +202,10 @@ impl Services {
else if path.starts_with("/api/admin/runtime-configs") {
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
else if path.starts_with("/api/admin/") {
Some(self.users_url.clone())