Skip to content

Commit 9fea1b1

Browse files
committed
chore(app): small cache length
1 parent 9b4a671 commit 9fea1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/pages/api/[...path].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const ALL: APIRoute = async ({ request, locals }) => {
3434

3535
return new Response(response.body, {
3636
headers: {
37-
'cache-control': request.method === 'GET' ? `public, max-age=3600` : 'no-store',
37+
'cache-control': request.method === 'GET' ? `public, max-age=300` : 'no-store',
3838
// @ts-ignore
3939
...Object.fromEntries(response.headers.entries()),
4040
'access-control-allow-origin': '*',

0 commit comments

Comments
 (0)