We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8db94a3 commit bec1522Copy full SHA for bec1522
src/app/photography/revalidate/route.ts
@@ -1,7 +1,7 @@
1
import { NextRequest, NextResponse } from "next/server";
2
import { revalidatePath } from "next/cache";
3
4
-export const maxDuration = 120; // This function can run for a maximum of 120 seconds
+export const maxDuration = 60; // This function can run for a maximum of 60 seconds
5
6
// Webhook: https://<your-site>/photography/revalidate?secret=<token>
7
export async function POST(request: NextRequest) {
0 commit comments