fix: keycloak config not found on access other path
This commit is contained in:
parent
872039f0d2
commit
eb5be2d8cc
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import Keycloak from 'keycloak-js'
|
||||
|
||||
const keycloak = new Keycloak()
|
||||
const keycloak = new Keycloak('/keycloak.json')
|
||||
|
||||
export async function login(cb?: (...args: any[]) => void) {
|
||||
const auth = await keycloak
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue