seeing weird traffic in prod, trying to reduce recent changes

This commit is contained in:
Dan Janosik 2024-11-07 16:49:13 -05:00
parent 0cee7cefb6
commit 9da307723c
No known key found for this signature in database
GPG key ID: 70C0B166321C0AF8

View file

@ -1360,11 +1360,12 @@ router.get("/block-analysis", function(req, res, next) {
next();
});
/*
router.get("/tx/tx/:transactionId", asyncHandler(async (req, res, next) => {
res.redirect(301, `${config.baseUrl}tx/${req.params.transactionId}`);
return;
}));
}));*/
router.get("/tx/:transactionId@:blockHeight", asyncHandler(async (req, res, next) => {
req.query.blockHeight = req.params.blockHeight;