From d72412ac4953acb46440ee36eee9ad679f8436cc Mon Sep 17 00:00:00 2001 From: Matthaeus Date: Sun, 13 Aug 2023 14:33:13 -0700 Subject: [PATCH] fixes --- package.json | 2 +- src/App.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e8f0864..17e1c87 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "react-scripts": "^5.0.1", "web-vitals": "^2.1.4" }, - "homepage": ".", + "homepage": "http://WolffM.github.io/webcomicreact", "scripts": { "start": "react-scripts start", "build": "react-scripts build", diff --git a/src/App.js b/src/App.js index dbd14be..0cd02c8 100644 --- a/src/App.js +++ b/src/App.js @@ -15,7 +15,7 @@ function App() { let index = 1; while (mounted) { - const imagePath = `/assets/${index}.png`; + const imagePath = `./assets/${index}.png`; try { const response = await fetch(imagePath);