We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c02216a commit 6561437Copy full SHA for 6561437
router/index.tsx
@@ -27,8 +27,10 @@ async function cachedFetchServerSideProps(pathname: string) {
27
return cache.get(pathname);
28
}
29
const response = await fetch(pathname, {
30
+ method: "POST",
31
headers: {
32
Accept: "application/vnd.server-side-props",
33
+ "Cache-Control": "no-cache",
34
},
35
});
36
if (response.ok) {
0 commit comments