mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-24 14:40:22 +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;
|
return res;
|
||||||
})
|
})
|
||||||
|
.then((res: DangerConfig) => {
|
||||||
|
console.log("[Config] got config from server", res);
|
||||||
|
set(() => ({ ...res }));
|
||||||
|
return res;
|
||||||
|
})
|
||||||
.then((res: Partial<AccessState>) => {
|
.then((res: Partial<AccessState>) => {
|
||||||
console.log("[Config] got config from server", res);
|
console.log("[Config] got config from server", res);
|
||||||
// Encrypt Bedrock-related sensitive data before storing
|
// Encrypt Bedrock-related sensitive data before storing
|
||||||
|
Loading…
Reference in New Issue
Block a user