From 28dc1938948dcd1ccb8460e4f6ba4061a048ca1c Mon Sep 17 00:00:00 2001 From: Kent Date: Tue, 6 Aug 2024 21:18:36 +0800 Subject: [PATCH] fix: postLogoutUri error --- apps/wallet/src/utils/auth/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wallet/src/utils/auth/index.ts b/apps/wallet/src/utils/auth/index.ts index 2a6eeb3..165fcce 100644 --- a/apps/wallet/src/utils/auth/index.ts +++ b/apps/wallet/src/utils/auth/index.ts @@ -44,7 +44,7 @@ export class AuthManager { } await oidc.logout({ redirectTo: 'specific url', - url: HIBIT_ID_WEB, + url: HIBIT_ID_WEB.replace(/\/+$/, ''), }) } }