Skip to content

Commit

Permalink
[chore] code format
Browse files Browse the repository at this point in the history
  • Loading branch information
raduab committed Sep 19, 2022
1 parent 8c8ca87 commit 616a8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare/src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const worker = {
// static assets
if (pathname.startsWith(prefix)) {
res = await env.ASSETS.fetch(req);
if (!res.ok) return res
if (!res.ok) return res;

const cache_control = pathname.startsWith(prefix + 'immutable/')
? 'public, immutable, max-age=31536000'
Expand Down

0 comments on commit 616a8ed

Please sign in to comment.