diff --git a/src/routes/+layout.server.ts b/src/routes/+layout.server.ts index c1ead24..043d06d 100644 --- a/src/routes/+layout.server.ts +++ b/src/routes/+layout.server.ts @@ -7,6 +7,9 @@ export const config = { expiration: 60 } }; + +export const prerender = true; + const fetchGalleryImages = async (): Promise => { const data = await getImageData(); return data.props.galleryItems.map((item: any) => item.image);