fix: Return after redirect

This commit is contained in:
Tom Moor
2022-12-15 20:04:42 -05:00
parent a9683f4d53
commit 6f57767b7c

View File

@@ -101,6 +101,7 @@ export const renderShare = async (ctx: Context, next: Next) => {
// can be modified by the user at any time
ctx.redirect(share.canonicalUrl);
ctx.status = 307;
return;
}
document = result.document;