Fixing the frontend on prod
This commit is contained in:
parent
66e145b580
commit
e998918969
2 changed files with 4 additions and 2 deletions
|
|
@ -34,4 +34,4 @@ const Layout = (props) => {
|
|||
)
|
||||
}
|
||||
|
||||
export default Layout
|
||||
export default Layout
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in a new issue