mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 09:01:57 +08:00
feat: add upstash redis cloud sync
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Updater } from "../typing";
|
||||
import { ApiPath, StoreKey } from "../constant";
|
||||
import { ApiPath, STORAGE_KEY, StoreKey } from "../constant";
|
||||
import { createPersistStore } from "../utils/store";
|
||||
import {
|
||||
AppState,
|
||||
@@ -36,7 +36,7 @@ export const useSyncStore = createPersistStore(
|
||||
|
||||
upstash: {
|
||||
endpoint: "",
|
||||
username: "",
|
||||
username: STORAGE_KEY,
|
||||
apiKey: "",
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user