2022-10-10 10:14:19 +00:00
|
|
|
export type Environment = {
|
2022-11-03 14:06:26 +00:00
|
|
|
/** The realm which should be used when signing into the application. */
|
|
|
|
loginRealm: string;
|
|
|
|
/** The URL to the root of the auth server. */
|
|
|
|
authServerUrl: string;
|
2022-10-10 10:14:19 +00:00
|
|
|
/** The URL to resources such as the files in the `public` directory. */
|
|
|
|
resourceUrl: string;
|
2022-11-03 14:06:26 +00:00
|
|
|
/** Indicates if the application is running as a Keycloak theme. */
|
|
|
|
isRunningAsTheme: boolean;
|
2022-10-10 10:14:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// The default environment, used during development.
|
|
|
|
const defaultEnvironment: Environment = {
|
2022-11-03 14:06:26 +00:00
|
|
|
loginRealm: "master",
|
|
|
|
authServerUrl: "http://localhost:8180",
|
2022-10-10 10:14:19 +00:00
|
|
|
resourceUrl: "http://localhost:8080",
|
2022-11-03 14:06:26 +00:00
|
|
|
isRunningAsTheme: false,
|
2022-10-10 10:14:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export { defaultEnvironment as environment };
|