mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-10 00:58:27 +08:00
feat: Improve SD list data and API integration
This commit is contained in:
@@ -3,7 +3,7 @@ import { BuildConfig, getBuildConfig } from "./build";
|
||||
export function getClientConfig() {
|
||||
if (typeof document !== "undefined") {
|
||||
// client side
|
||||
return JSON.parse(queryMeta("config")) as BuildConfig;
|
||||
return JSON.parse(queryMeta("config") || "{}") as BuildConfig;
|
||||
}
|
||||
|
||||
if (typeof process !== "undefined") {
|
||||
|
Reference in New Issue
Block a user