added config file

This commit is contained in:
2024-06-13 22:04:03 +02:00
parent f02083d44c
commit 47e8f0fc11
3 changed files with 19 additions and 5 deletions

View File

@@ -1,4 +1,9 @@
import Keycloak from "keycloak-js";
import getConfig from "../config/config";
const config = getConfig();
const path = config.REACT_APP_KC_HOSTNAME || process.env.REACT_APP_KC_HOSTNAME;
const keycloak = new Keycloak({
url: process.env.REACT_APP_KC,
realm: "Jodel",