Skip to content

Commit

Permalink
feat: ✨ change cache buster to invalidate old cache (#4002)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSegullo authored Dec 9, 2024
1 parent 6218439 commit 5294862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/utils/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const api = createTRPCNext<AppRouter>({
// and data respecting the new model is fetched from the server.
// Otherwise, the old data will be served from cache
// and unexpected data structures will be run through the app.
buster: "v1",
buster: "v2",
});

return {
Expand Down

0 comments on commit 5294862

Please sign in to comment.