From b75911418c8cfa092db721c74b8122b1e9051b7a Mon Sep 17 00:00:00 2001 From: Shua-github Date: Sun, 29 Dec 2024 15:42:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E8=B7=AF=E5=BE=84=E5=92=8C=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/App.jsx | 2 +- src/components/Picker.jsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6ecd7b3..0caf1f6 100644 --- a/package.json +++ b/package.json @@ -42,5 +42,5 @@ "last 1 safari version" ] }, - "homepage": "https://shua-github.github.io/arcaea-stickers-zh/static" + "homepage": "https://shua-github.github.io/arcaea-stickers-zh" } diff --git a/src/App.jsx b/src/App.jsx index 66c7b0d..2d7c0e7 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -83,7 +83,7 @@ function App() { setLoaded(false); }, [character]); - img.src = "/img/" + characters[character].img; + img.src = "/static/img/" + characters[character].img; img.onload = () => { setLoaded(true); diff --git a/src/components/Picker.jsx b/src/components/Picker.jsx index d6326b5..dedd091 100644 --- a/src/components/Picker.jsx +++ b/src/components/Picker.jsx @@ -50,8 +50,8 @@ export default function Picker({ setCharacter }) { }} > {c.name}