Skip to content

Commit afd5686

Browse files
committed
fix: use 302 redirects (avoid caching)
1 parent 4fd4bdc commit afd5686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: server/renderer/handler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default function handleRender(req, res) {
102102
// A 301 redirect was rendered somewhere if context.url exists after
103103
// rendering has happened.
104104
if (context.url) {
105-
return res.redirect(301, context.url);
105+
return res.redirect(302, context.url);
106106
}
107107

108108
return res.status(200).send(markup);

0 commit comments

Comments
 (0)