Skip to content

Commit

Permalink
PM2 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aymene authored and aymene committed Jan 31, 2024
1 parent bb1e2d7 commit 3a5f632
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions ecosystem.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ module.exports = {
{
name: "stremio-jackett",
script: "npm start",
cwd: "/app",
watch: true,
watch: "./dist/index.cjs",
autorestart: true,
env: {
NODE_ENV: "production",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "stremio-addon-jackett",
"version": "1.3.2",
"version": "1.3.3",
"description": "Stremio Jackett Addon",
"scripts": {
"build": "node esbuild.js",
Expand Down
2 changes: 1 addition & 1 deletion src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ routes.get("/:params/configure", (req, res) => {

routes.get("/getStream/:service/:apiKey/:magnet/:seasonEpisode", async (req, res) => {
let media;
if (req.params.service === "alldebrid") {
if (req.params.service === "alldebrida") {
if (req.params.seasonEpisode === "undefined") {
media = await getMovieADLink(atob(req.params.magnet), req.params.apiKey);
} else {
Expand Down

0 comments on commit 3a5f632

Please sign in to comment.