Fix URLBean common location

This commit is contained in:
Citlali del Rey 2023-04-07 13:44:24 -07:00
parent 5d9b49b47d
commit b04e0bc2c1
Signed by: nullobsi
GPG Key ID: 933A1F44222C2634
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ public class UrlBean {
logger.warn("Failed to load properties", ex); logger.warn("Failed to load properties", ex);
} }
if (commonPath == null || commonPath.isEmpty()) { if (commonPath == null || commonPath.isEmpty()) {
commonPath = "/common/keycloak"; commonPath = "common/keycloak";
} }
return uri.getPath() + "/" + commonPath; return uri.getPath() + "/" + commonPath;
} }

View File

@ -136,7 +136,7 @@ public class UrlBean {
logger.warn("Failed to load properties", ex); logger.warn("Failed to load properties", ex);
} }
if (commonPath == null || commonPath.isEmpty()) { if (commonPath == null || commonPath.isEmpty()) {
commonPath = "/common/keycloak"; commonPath = "common/keycloak";
} }
return uri.getPath() + "/" + commonPath; return uri.getPath() + "/" + commonPath;
} }