attempt to fix img location

This commit is contained in:
Juni
2022-11-08 09:48:41 -05:00
parent c5ab237c13
commit ee2e80563e
6 changed files with 9 additions and 9 deletions

View File

@@ -1,15 +1,15 @@
{
"files": {
"main.css": "./static/css/main.ada15431.css",
"main.js": "./static/js/main.b8545192.js",
"main.js": "./static/js/main.b1e6aecc.js",
"static/media/YurukaStd.woff2": "./static/media/YurukaStd.e4589185c34a94a462b4.woff2",
"static/media/ShangShouFangTangTi.woff2": "./static/media/ShangShouFangTangTi.4b63e6001b3ba64f627e.woff2",
"index.html": "./index.html",
"main.ada15431.css.map": "./static/css/main.ada15431.css.map",
"main.b8545192.js.map": "./static/js/main.b8545192.js.map"
"main.b1e6aecc.js.map": "./static/js/main.b1e6aecc.js.map"
},
"entrypoints": [
"static/css/main.ada15431.css",
"static/js/main.b8545192.js"
"static/js/main.b1e6aecc.js"
]
}

View File

@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="manifest" href="/site.webmanifest"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#cf93d9"/><meta name="description" content="JuniTeeVee Stickers maker"/><title>JuniTeeVee Stickers</title><meta property="og:title" content="JuniTeeVee Stickers"/><meta property="og:description" content="Make your own JuniTeeVee Stickers!"/><meta property="og:image" content="/og-image.png"/><meta property="og:url" content=""/><meta property="og:site_name" content="JuniTeeVee Stickers"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:site" content="@bunhunfun"/><meta name="twitter:creator" content="@bunhunfun"/><meta name="twitter:title" content="JuniTeeVee Stickers"/><meta name="twitter:description" content="Make your own JuniTeeVee Stickers!"/><meta name="twitter:image" content="/og-image.png"/><meta name="propeller" content="fe9c5bcb759709be3fc94085f6e0c75d"><script defer="defer" src="./static/js/main.b8545192.js"></script><link href="./static/css/main.ada15431.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="manifest" href="/site.webmanifest"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#cf93d9"/><meta name="description" content="JuniTeeVee Stickers maker"/><title>JuniTeeVee Stickers</title><meta property="og:title" content="JuniTeeVee Stickers"/><meta property="og:description" content="Make your own JuniTeeVee Stickers!"/><meta property="og:image" content="/og-image.png"/><meta property="og:url" content=""/><meta property="og:site_name" content="JuniTeeVee Stickers"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:site" content="@bunhunfun"/><meta name="twitter:creator" content="@bunhunfun"/><meta name="twitter:title" content="JuniTeeVee Stickers"/><meta name="twitter:description" content="Make your own JuniTeeVee Stickers!"/><meta name="twitter:image" content="/og-image.png"/><meta name="propeller" content="fe9c5bcb759709be3fc94085f6e0c75d"><script defer="defer" src="./static/js/main.b1e6aecc.js"></script><link href="./static/css/main.ada15431.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -64,7 +64,7 @@ function App() {
setLoaded(false);
}, [character]);
img.src = "/img/" + characters[character].img;
img.src = "./img/" + characters[character].img;
img.onload = () => {
setLoaded(true);