File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ import { revalidatePath } from "next/cache"
2+
3+ export async function POST ( request : Request ) {
4+ try {
5+ const text = await request . text ( )
6+ console . log ( "[GitHub] Webhook received" , text )
7+
8+ revalidatePath ( "/" )
9+ } catch ( error : any ) {
10+ return new Response ( `Webhook error: ${ error . message } ` , {
11+ status : 400 ,
12+ } )
13+ }
14+
15+ return new Response ( "Success!" , {
16+ status : 200 ,
17+ } )
18+ }
File renamed without changes.
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export default function HomePage() {
4040 < Pricing />
4141
4242 < h3 className = "text-center pb-8 text-primary/60 text-lg" > Sponsors</ h3 >
43- < LatestSponsor className = "mb-2 " />
43+ < LatestSponsor className = "mb-4 " />
4444 < AllSponsors cta = "Become a sponsor" className = "mb-24" />
4545
4646 < PoweredBy className = "mb-8 text-center flex items-center justify-center gap-4 w-full flex-wrap" />
You can’t perform that action at this time.
0 commit comments