mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-19 19:35:08 +08:00
this is ti
This commit is contained in:
@@ -95,6 +95,9 @@ export const useSyncStore = createPersistStore(
|
|||||||
const provider = get().provider;
|
const provider = get().provider;
|
||||||
const config = get()[provider];
|
const config = get()[provider];
|
||||||
const client = this.getClient();
|
const client = this.getClient();
|
||||||
|
|
||||||
|
console.log("client set", localState);
|
||||||
|
await client.set(config.username, JSON.stringify(localState));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const remoteState = await client.get(config.username);
|
const remoteState = await client.get(config.username);
|
||||||
|
Reference in New Issue
Block a user