mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-03-03 16:45:17 +08:00
feat: add multi-model support
This commit is contained in:
@@ -13,7 +13,7 @@ import { downloadAs, readFromFile } from "../utils";
|
||||
import { showToast } from "../components/ui-lib";
|
||||
import Locale from "../locales";
|
||||
import { createSyncClient, ProviderType } from "../utils/cloud";
|
||||
import { corsPath } from "../utils/cors";
|
||||
import { getApiPath } from "../utils/path";
|
||||
|
||||
export interface WebDavConfig {
|
||||
server: string;
|
||||
@@ -27,7 +27,7 @@ export type SyncStore = GetStoreState<typeof useSyncStore>;
|
||||
const DEFAULT_SYNC_STATE = {
|
||||
provider: ProviderType.WebDAV,
|
||||
useProxy: true,
|
||||
proxyUrl: corsPath(ApiPath.Cors),
|
||||
proxyUrl: getApiPath(ApiPath.Cors),
|
||||
|
||||
webdav: {
|
||||
endpoint: "",
|
||||
|
||||
Reference in New Issue
Block a user