diff --git a/frontend/src/lib/components/projects/SelectProject.svelte b/frontend/src/lib/components/projects/SelectProject.svelte index b7bf779..6d9f2dd 100644 --- a/frontend/src/lib/components/projects/SelectProject.svelte +++ b/frontend/src/lib/components/projects/SelectProject.svelte @@ -40,10 +40,10 @@ {:else}
(location.href = `/project.html?id=${project.id}`)} + on:click={() => (location.href = location.origin + `/project/?id=${project.id}`)} on:keydown={(e) => { if (e.key === 'Enter') { - location.href = `/project?id=${project.id}`; + location.href = location.origin + `/project/?id=${project.id}`; } }} tabindex="0" diff --git a/frontend/src/routes/+layout.js b/frontend/src/routes/+layout.js index 189f71e..1e62f0b 100644 --- a/frontend/src/routes/+layout.js +++ b/frontend/src/routes/+layout.js @@ -1 +1,3 @@ export const prerender = true; +export const ssr = false; +export const trailingSlash = 'always';