Prerender games page

This commit is contained in:
Sam Carlton 2023-02-11 16:48:32 -06:00
parent 865a41bc59
commit 58aa495c93

View file

@ -19,7 +19,6 @@ import Search from '~/components/search-stork.vue'
import ThomasCredit from '~/components/thomas-credit.vue'
import AdInline from '~/components/ad-inline.vue'
// Get type and slug from the request path
// so that we don't have extra parts for
// urls like /:type/:slug/benchmarks
@ -38,6 +37,9 @@ if ( redirectResponse !== null ) {
applyResponseDefaults( Astro )
// Prerender page so it serves statically
export const prerender = true
const rawKindPage = await DoesItAPI.kind( 'game' )( 1 ).get()
// Clean up unused kind data