Skip to content

Commit

Permalink
Update routes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aymene69 authored Jan 26, 2024
1 parent b60c1c9 commit 2e4e04e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ routes.get("/:params/manifest.json", (req, res) => {
});

routes.use((err, req, res, next) => {
if (req.path.startsWith('/jackett')) {
next();
} else {
respond(res, noResults);
}
respond(res, noResults);
});

routes.get("/:params/stream/:type/:id", async (req, res) => {
Expand Down

0 comments on commit 2e4e04e

Please sign in to comment.