mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
Update index.ts
This commit is contained in:
parent
6268649ecc
commit
5ada86a78a
@ -30,7 +30,7 @@ if (typeof window != "undefined") {
|
|||||||
.then((res) => res.json())
|
.then((res) => res.json())
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error("[Fetch] failed to fetch masks", error);
|
console.error("[Fetch] failed to fetch masks", error);
|
||||||
return { cn: [], tw: [], en: [] };
|
return { en: [] };
|
||||||
})
|
})
|
||||||
.then((masks) => {
|
.then((masks) => {
|
||||||
const {en = [] } = masks;
|
const {en = [] } = masks;
|
||||||
|
Loading…
Reference in New Issue
Block a user