mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-04-30 08:12:26 +00:00
feat(config): remove key cloak config functions
This commit is contained in:
@ -119,12 +119,6 @@ export const getCustomOpenaiApiUrl = () =>
|
||||
export const getCustomOpenaiModelName = () =>
|
||||
loadConfig().MODELS.CUSTOM_OPENAI.MODEL_NAME;
|
||||
|
||||
export const getKeyCloakUrl = () => loadConfig().KEYCLOAK.URL;
|
||||
|
||||
export const getKeyCloakRealm = () => loadConfig().KEYCLOAK.REALM;
|
||||
|
||||
export const getKeyCloakClientId = () => loadConfig().KEYCLOAK.CLIENT_ID;
|
||||
|
||||
const mergeConfigs = (current: any, update: any): any => {
|
||||
if (update === null || update === undefined) {
|
||||
return current;
|
||||
|
Reference in New Issue
Block a user