diff --git a/src/client/GamePage.tsx b/src/client/GamePage.tsx index 4ffa959..52c27a1 100644 --- a/src/client/GamePage.tsx +++ b/src/client/GamePage.tsx @@ -17,7 +17,7 @@ export const GamePage = () => { const fetchInfo = async () => { let url = `/api/release?author=${author}&slug=${slug}`; if (version) { - url += `version=${version}`; + url += `&version=${version.slice(1)}`; } const information = await fetch(url); const json = await information.json(); @@ -66,7 +66,7 @@ export const GamePage = () => { display: flex; justify-content: end; `}> - Version: navigate(`/u/${author}/${slug}/v${version}`)}> { info.versions.map(v => (