From ce2063f54cc014f86c330a34e7c2abd529508ac0 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Wed, 7 Jan 2026 01:20:28 +0800 Subject: [PATCH] wip --- src/utils/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 3bc904e5..1884641f 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -253,9 +253,9 @@ export async function _getDictDataByUrl( type: DictType = DictType.word ): Promise { // await sleep(2000); - let dictResourceUrl = `/dicts/${val.language}/word/${val.url}` + let dictResourceUrl = `https://dicts.2study.top/dicts/${val.language}/word/${val.url}` if (type === DictType.article) { - dictResourceUrl = `/dicts/${val.language}/article/${val.url}` + dictResourceUrl = `https://dicts.2study.top/dicts/${val.language}/article/${val.url}` } let s = await fetch(resourceWrap(dictResourceUrl, val.version)).then(r => r.json()) if (s) {