fix: #1251 use google fonts mirror

This commit is contained in:
Yidadaa
2023-05-05 22:49:41 +08:00
parent ec655f5182
commit 4b9d753254
4 changed files with 8 additions and 6 deletions

View File

@@ -41,6 +41,8 @@ export const useAccessStore = create<AccessControlStore>()(
set(() => ({ token }));
},
isAuthorized() {
get().fetch();
// has token or has code or disabled access control
return (
!!get().token || !!get().accessCode || !get().enabledAccessControl()