mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-22 05:30:19 +09:00
修改: app/store/access.ts
This commit is contained in:
parent
ca17e90c52
commit
c55cea5853
@ -288,7 +288,11 @@ export const useAccessStore = createPersistStore(
|
||||
|
||||
return res;
|
||||
})
|
||||
|
||||
.then((res: DangerConfig) => {
|
||||
console.log("[Config] got config from server", res);
|
||||
set(() => ({ ...res }));
|
||||
return res;
|
||||
})
|
||||
.then((res: Partial<AccessState>) => {
|
||||
console.log("[Config] got config from server", res);
|
||||
// Encrypt Bedrock-related sensitive data before storing
|
||||
|
Loading…
Reference in New Issue
Block a user