mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): remove leading slash in the oidc config api path (#3114)
This commit is contained in:
parent
8815b0b048
commit
de0d22037d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ const ApplicationDetails = () => {
|
||||||
const { data: oidcConfig, error: fetchOidcConfigError } = useSWR<
|
const { data: oidcConfig, error: fetchOidcConfigError } = useSWR<
|
||||||
SnakeCaseOidcConfig,
|
SnakeCaseOidcConfig,
|
||||||
RequestError
|
RequestError
|
||||||
>('/oidc/.well-known/openid-configuration');
|
>('oidc/.well-known/openid-configuration');
|
||||||
const isLoading = (!data && !error) || (!oidcConfig && !fetchOidcConfigError);
|
const isLoading = (!data && !error) || (!oidcConfig && !fetchOidcConfigError);
|
||||||
const [isReadmeOpen, setIsReadmeOpen] = useState(false);
|
const [isReadmeOpen, setIsReadmeOpen] = useState(false);
|
||||||
const [isDeleteFormOpen, setIsDeleteFormOpen] = useState(false);
|
const [isDeleteFormOpen, setIsDeleteFormOpen] = useState(false);
|
||||||
|
|
Loading…
Reference in a new issue