Fix dev & build differences
This commit is contained in:
parent
1a76019f1e
commit
3aad7f716e
|
@ -40,10 +40,10 @@
|
||||||
{:else}
|
{:else}
|
||||||
<div
|
<div
|
||||||
class="title"
|
class="title"
|
||||||
on:click={() => (location.href = `/project.html?id=${project.id}`)}
|
on:click={() => (location.href = location.origin + `/project/?id=${project.id}`)}
|
||||||
on:keydown={(e) => {
|
on:keydown={(e) => {
|
||||||
if (e.key === 'Enter') {
|
if (e.key === 'Enter') {
|
||||||
location.href = `/project?id=${project.id}`;
|
location.href = location.origin + `/project/?id=${project.id}`;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
export const prerender = true;
|
export const prerender = true;
|
||||||
|
export const ssr = false;
|
||||||
|
export const trailingSlash = 'always';
|
||||||
|
|
Loading…
Reference in New Issue