Skip to content

Commit

Permalink
clients/og: remove cache from og images
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Mar 22, 2024
1 parent 88fb419 commit e25c811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/apps/web/src/app/embed/posts.svg/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function GET(request: Request) {
headers: {
'Content-Type': 'image/svg+xml',
// Cache for one hour in user's browser and Vercel cache
'Cache-Control': 'max-age=3600, s-maxage=3600',
'Cache-Control': 'no-cache',
},
status: 200,
})
Expand Down
2 changes: 1 addition & 1 deletion clients/apps/web/src/app/embed/tiers.svg/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export async function GET(request: Request) {
headers: {
'Content-Type': 'image/svg+xml',
// Cache for one hour in user's browser and Vercel cache
'Cache-Control': 'max-age=3600, s-maxage=3600',
'Cache-Control': 'no-cache',
},
status: 200,
})
Expand Down

0 comments on commit e25c811

Please sign in to comment.