Fixing the frontend on prod

This commit is contained in:
James 2026-01-15 16:04:16 +11:00
parent 66e145b580
commit e998918969
2 changed files with 4 additions and 2 deletions

View file

@ -34,4 +34,4 @@ const Layout = (props) => {
)
}
export default Layout
export default Layout

View file

@ -17,6 +17,8 @@ export async function getStaticProps({params}) {
const gallerylist = await getAllGalleries()
console.log(gallerylist);
return {
props: { pagedata, serverRuntimeConfig, gallerylist, rssFeed },
revalidate: 60
@ -45,4 +47,4 @@ const Page = ({pagedata, serverRuntimeConfig, gallerylist, rssFeed}) => {
</Layout>)
}
export default Page
export default Page