Skip to content

Commit

Permalink
just check for account pages
Browse files Browse the repository at this point in the history
  • Loading branch information
garytyler committed Dec 30, 2024
1 parent 5d7855b commit 298389e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default {
if (
!urlPathname.endsWith('/cart') &&
!urlPathname.endsWith('/account') &&
!urlPathname.endsWith('/checkout')
!urlPathname.includes('/account/')
) {
response.headers.set('Cache-Control', CACHE_SHORT);
response.headers.set(
Expand Down

0 comments on commit 298389e

Please sign in to comment.