Fix dev env

Fixes: #28143
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
This commit is contained in:
Hynek Mlnarik 2024-03-22 11:13:58 +01:00 committed by Hynek Mlnařík
parent b321c4b406
commit b01cc231a0

View file

@ -41,7 +41,7 @@ const match = matchPath(ROOT_PATH, location.pathname);
const defaultEnvironment: Environment = { const defaultEnvironment: Environment = {
authUrl: "http://localhost:8180", authUrl: "http://localhost:8180",
baseUrl: `http://localhost:8180/realms/${match?.params.realm ?? DEFAULT_REALM}/account`, baseUrl: `http://localhost:8180/realms/${match?.params.realm ?? DEFAULT_REALM}/account/`,
realm: match?.params.realm ?? DEFAULT_REALM, realm: match?.params.realm ?? DEFAULT_REALM,
clientId: "security-admin-console-v2", clientId: "security-admin-console-v2",
resourceUrl: "http://localhost:8080", resourceUrl: "http://localhost:8080",