Fix : game page not using correct endpoint
release-tag / release-image (push) Successful in 28s

This commit is contained in:
2024-07-14 16:57:24 +02:00
parent baf2fc27a9
commit 0f771b12d5
+3 -6
View File
@@ -23,12 +23,9 @@ const {
pending,
error,
refresh,
} = await useFetch<Game>(
new URL(`/games/${gameId}`, config.public.endpoint).href,
{
credentials: "include",
}
);
} = await useFetch<Game>(config.public.endpoint + `/games/${gameId}`, {
credentials: "include",
});
if (game.value == null) {
navigateTo("/lobby");