Skip to content

Commit

Permalink
Update packages/adapter-cloudflare/files/worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Mar 24, 2022
1 parent 3722b93 commit f877449
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/adapter-cloudflare/files/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ export default {

// dynamically-generated pages
try {
// `default` cache property exists in the cloudflare workers environment only.
// @ts-expect-error
// @ts-expect-error - `default` exists only in the cloudflare workers environment
const cache = caches.default;
let response = await cache.match(req);

Expand Down

0 comments on commit f877449

Please sign in to comment.