File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { TemplatesProviderWrapper } from "@/components/providers/templates-provi
55import { BackgroundShapes } from "@/components/background-shapes" ;
66import type { Metadata } from "next" ;
77
8+ export const revalidate = 3600 ;
9+
810export async function generateStaticParams ( ) {
911 const templates = await fetchTemplatesFromGitHub ( ) ;
1012 return templates . map ( ( template ) => ( {
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import { fetchTemplatesFromGitHub } from "@/lib/fetch-templates";
66import { AppProviders } from "@/components/app-providers" ;
77import { TemplatesProviderWrapper } from "@/components/providers/templates-provider-wrapper" ;
88
9+ export const revalidate = 3600 ;
10+
911export default async function TemplatesPage ( ) {
1012 const templates = await fetchTemplatesFromGitHub ( ) ;
1113 const t = await getTranslations ( "templates" ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const DEFAULT_TEMPLATE_NAMES = [
77 "gill-react-vite-tailwind-basic" , // Fullstack boilerplate (Vite)
88 "web3js-expo" , // Mobile
99 "gill-jito-airdrop" , // Airdrop
10- "x402-solana-protocol " , // Payments
10+ "x402-template " , // X402 Next.js
1111 "gill-node-express" , // Backend
1212] ;
1313
You can’t perform that action at this time.
0 commit comments