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 9b4a671 commit 9fea1b1Copy full SHA for 9fea1b1
packages/app/src/pages/api/[...path].ts
@@ -34,7 +34,7 @@ export const ALL: APIRoute = async ({ request, locals }) => {
34
35
return new Response(response.body, {
36
headers: {
37
- 'cache-control': request.method === 'GET' ? `public, max-age=3600` : 'no-store',
+ 'cache-control': request.method === 'GET' ? `public, max-age=300` : 'no-store',
38
// @ts-ignore
39
...Object.fromEntries(response.headers.entries()),
40
'access-control-allow-origin': '*',
0 commit comments