mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 21:17:24 +08:00
fix: #1251 use google fonts mirror
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user