Skip to content

Commit

Permalink
Update packages/adapter-cloudflare-workers/files/entry.js
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Oct 12, 2022
1 parent 0e3bd80 commit 65ec1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare-workers/files/entry.js
Expand Up @@ -25,7 +25,7 @@ export default {
const res = await get_asset_from_kv(req, env, context);
if (is_error(res.status)) return res;

const cache_control = url.pathname.startsWith(appPath + 'immutable/')
const cache_control = url.pathname.startsWith(app_path + 'immutable/')
? 'public, immutable, max-age=31536000'
: 'no-cache';

Expand Down

0 comments on commit 65ec1b7

Please sign in to comment.