Skip to content

Commit

Permalink
update helpers.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsangan committed Aug 6, 2024
1 parent 7cccb97 commit 4af6afe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ export default async function serveResult(request: Request): Promise<Response> {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, HEAD',
'Access-Control-Expose-Headers': 'X-Response-Time',
'Age': 0,
'CF-Cache-Status': 'MISS',
'Cache-Control': 'max-age=40, proxy-revalidate, immutable',
'Content-Type': 'application/json; charset=utf-8',
'X-Powered-By': '@ihsangan/valid'
}
});
return response;
Expand Down

0 comments on commit 4af6afe

Please sign in to comment.