Skip to content

Commit

Permalink
Disabling caching for /user/dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
roar-skinderviken committed Dec 10, 2024
1 parent e9e07cf commit 476dd22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions next-app/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ const nextConfig: NextConfig = {
},
],
},
{
source: "/user/dashboard",
headers: [
{
key: "Cache-Control",
value: "no-store, max-age=0"
},
],
},
]
},
async redirects() {
Expand Down

0 comments on commit 476dd22

Please sign in to comment.