diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts index 3ec7dc8..335f2d9 100644 --- a/src/routes/+page.server.ts +++ b/src/routes/+page.server.ts @@ -5,8 +5,7 @@ import { fetchBandcampAlbums } from '$root/lib/util/fetchBandcampAlbums'; export const load: PageServerLoad = async ({ fetch, setHeaders }) => { const albums = async () => await fetchBandcampAlbums(); const articles = async () => await fetch(`/api/articles?page=1&limit=3`); - // const art = articles. - // console.log(`Articles: ${JSON.stringify(await (await articles()).json())}`); + setHeaders({ 'cache-control': 'max-age=43200' }); diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index 1bfa04d..a0155cc 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -1,5 +1,5 @@