From 6f57767b7c5fccfc806c297f35e7c7bce31d6fc5 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 15 Dec 2022 20:04:42 -0500 Subject: [PATCH] fix: Return after redirect --- server/routes/app.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/routes/app.ts b/server/routes/app.ts index f0ff616ce..146e68a99 100644 --- a/server/routes/app.ts +++ b/server/routes/app.ts @@ -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;