mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
Remove cache on validate route
This commit is contained in:
@@ -260,9 +260,6 @@ export async function GET(
|
||||
|
||||
return NextResponse.json(payload, {
|
||||
status: 200,
|
||||
headers: {
|
||||
"Cache-Control": apiConfig.cacheControl,
|
||||
},
|
||||
});
|
||||
} catch (error: any) {
|
||||
const payload = createErrorPayload(
|
||||
|
||||
@@ -72,9 +72,6 @@ export async function GET(request: NextRequest) {
|
||||
|
||||
return NextResponse.json(payload, {
|
||||
status: 200,
|
||||
headers: {
|
||||
"Cache-Control": apiConfig.cacheControl,
|
||||
},
|
||||
});
|
||||
} catch (error: any) {
|
||||
const payload = createErrorPayload(
|
||||
|
||||
Reference in New Issue
Block a user