Skip to content

Commit

Permalink
fix: 应该能用了
Browse files Browse the repository at this point in the history
  • Loading branch information
Shua-github committed Dec 29, 2024
1 parent 3a3a824 commit 4a3f0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function App() {
setLoaded(false);
}, [character]);

img.src = `${process.env.PUBLIC_URL}/static/img/` + characters[character].img;
img.src = `${process.env.PUBLIC_URL}/img/` + characters[character].img;

img.onload = () => {
setLoaded(true);
Expand Down

0 comments on commit 4a3f0c5

Please sign in to comment.