7afd75ba08
Closes #27442 Signed-off-by: Jon Koops <jonkoops@gmail.com>
13 lines
324 B
TypeScript
13 lines
324 B
TypeScript
import { getRootPath } from "../src/utils/getRootPath";
|
|
|
|
export function getBaseUrl(): string {
|
|
return process.env.KEYCLOAK_SERVER ?? "http://localhost:8080";
|
|
}
|
|
|
|
export function getAccountUrl() {
|
|
return getBaseUrl() + getRootPath();
|
|
}
|
|
|
|
export function getAdminUrl() {
|
|
return getBaseUrl() + "/admin/master/console/";
|
|
}
|