Temporarily remove cache for API

This commit is contained in:
Gabriel Simmer 2023-05-05 15:00:57 +01:00
parent 1d8899c382
commit a384b5c477
Signed by: arch
GPG key ID: C81B106D46C5B875

View file

@ -32,7 +32,7 @@ export default async (request: NextRequest) => {
return new Response(JSON.stringify(data), { return new Response(JSON.stringify(data), {
headers: { headers: {
'content-type': 'application/json', 'content-type': 'application/json',
'cache-control': 'public, max-age=600, stale-while-revalidate=1200', // 'cache-control': 'public, max-age=600, stale-while-revalidate=1200',
}, },
}); });
}; };