From f727b8b7c61678ce53f467cd490ccadba81db744 Mon Sep 17 00:00:00 2001 From: jessopb <36554050+jessopb@users.noreply.github.com> Date: Wed, 31 Mar 2021 17:16:19 -0400 Subject: [PATCH] change open.lbry.com code to 301 (#5804) --- web/middleware/redirect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/middleware/redirect.js b/web/middleware/redirect.js index ccf9eb0e0..11a13596c 100644 --- a/web/middleware/redirect.js +++ b/web/middleware/redirect.js @@ -55,7 +55,7 @@ async function redirectMiddleware(ctx, next) { } else { redirectUrl += openQuery; } - + ctx.status = 301; ctx.redirect(redirectUrl); return; }