remove deprecated endpoint for resolve
Some checks are pending
Deploy Addon / build (SSH_HOST_2, SSH_KEY_2) (push) Waiting to run
Deploy Addon / build (SSH_HOST_3, SSH_KEY_3) (push) Waiting to run
Deploy Addon / build (SSH_HOST_4, SSH_KEY_4) (push) Waiting to run

This commit is contained in:
TheBeastLT 2025-08-06 12:56:54 +03:00
parent bbb2696c54
commit 615031271e

View file

@ -82,12 +82,7 @@ router.get('/:configuration?/:resource/:type/:id/:extra?.json', limiter, (req, r
});
});
router.get(
[
'/:moch/:apiKey/:infoHash/:cachedEntryInfo/:fileIndex/:filename?',
'/resolve/:moch/:apiKey/:infoHash/:cachedEntryInfo/:fileIndex/:filename?'
],
(req, res) => {
router.get('/resolve/:moch/:apiKey/:infoHash/:cachedEntryInfo/:fileIndex/:filename?', (req, res) => {
const userAgent = req.headers['user-agent'] || '';
const parameters = {
mochKey: req.params.moch,