0
Fork 0
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:
Xiao Yijun 2023-02-15 15:01:50 +08:00 committed by GitHub
parent 8815b0b048
commit de0d22037d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ const ApplicationDetails = () => {
const { data: oidcConfig, error: fetchOidcConfigError } = useSWR<
SnakeCaseOidcConfig,
RequestError
>('/oidc/.well-known/openid-configuration');
>('oidc/.well-known/openid-configuration');
const isLoading = (!data && !error) || (!oidcConfig && !fetchOidcConfigError);
const [isReadmeOpen, setIsReadmeOpen] = useState(false);
const [isDeleteFormOpen, setIsDeleteFormOpen] = useState(false);