mirror of
https://github.com/janoside/btc-rpc-explorer.git
synced 2026-08-13 12:33:13 +02:00
301 code for changed url
This commit is contained in:
parent
665c1bf904
commit
c58166b5bf
1 changed files with 1 additions and 1 deletions
|
|
@ -859,7 +859,7 @@ router.get("/block-stats", asyncHandler(async (req, res, next) => {
|
|||
|
||||
router.get("/mining-template", asyncHandler(async (req, res, next) => {
|
||||
// url changed
|
||||
res.redirect("./next-block");
|
||||
res.redirect(301, "./next-block");
|
||||
}));
|
||||
|
||||
router.get("/next-block", asyncHandler(async (req, res, next) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue