mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-01-11 22:40:22 +00:00
remove deprecated endpoint for resolve
This commit is contained in:
parent
bbb2696c54
commit
615031271e
1 changed files with 1 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue