Compare commits
No commits in common. "76d9f46fa518152cc5547000d567616d881087d4" and "85b178ca07172d4a55b7886f0e599efa3f00df3a" have entirely different histories.
76d9f46fa5
...
85b178ca07
3 changed files with 2 additions and 8 deletions
|
@ -1,4 +0,0 @@
|
||||||
export async function handle({ event, resolve }) {
|
|
||||||
const response = await resolve(event);
|
|
||||||
return response;
|
|
||||||
}
|
|
|
@ -1,7 +1,7 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import '../../css/header.css';
|
import '../../css/header.css';
|
||||||
|
|
||||||
export let title: string = 'Naturalistici';
|
export const title: string = 'Naturalistici';
|
||||||
|
|
||||||
const goBack = () => {
|
const goBack = () => {
|
||||||
history.back();
|
history.back();
|
||||||
|
|
|
@ -11,10 +11,8 @@ export async function load({ params }) {
|
||||||
error(404);
|
error(404);
|
||||||
}
|
}
|
||||||
|
|
||||||
const toReturn = {
|
return {
|
||||||
category: category.name_it,
|
category: category.name_it,
|
||||||
routes: await getRouteByCategory(categoryId),
|
routes: await getRouteByCategory(categoryId),
|
||||||
}
|
}
|
||||||
|
|
||||||
return toReturn;
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue