Fix dev & build differences
This commit is contained in:
parent
1a76019f1e
commit
3aad7f716e
|
@ -40,10 +40,10 @@
|
|||
{:else}
|
||||
<div
|
||||
class="title"
|
||||
on:click={() => (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"
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
export const prerender = true;
|
||||
export const ssr = false;
|
||||
export const trailingSlash = 'always';
|
||||
|
|
Loading…
Reference in New Issue