change open.lbry.com code to 301 (#5804)
This commit is contained in:
parent
58ec6a739c
commit
f727b8b7c6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ async function redirectMiddleware(ctx, next) {
|
||||||
} else {
|
} else {
|
||||||
redirectUrl += openQuery;
|
redirectUrl += openQuery;
|
||||||
}
|
}
|
||||||
|
ctx.status = 301;
|
||||||
ctx.redirect(redirectUrl);
|
ctx.redirect(redirectUrl);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue