Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
besoeasy authored Nov 21, 2024
1 parent 8a5f222 commit 7e1dcd9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 115 deletions.
96 changes: 0 additions & 96 deletions func/stremio.js

This file was deleted.

17 changes: 0 additions & 17 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,6 @@ const { getIpData } = require("./func/ip.js");

const { bytesToSize, deleteOldFiles } = require("./func/utils.js");

const createStremioAddon = require("./func/stremio.js");

const http = require("http");

const builder = createStremioAddon();

const addonInterface = builder.getInterface();

// Run the add-on server
http
.createServer((req, res) => {
addonInterface(req, res);
})
.listen(6798, () => {
console.log(`Stremio Addon running at: http://pi.local:6798/manifest.json`);
});

const { Telegraf } = require("telegraf");

if (!process.env.TELEGRAMBOT) {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"crypto-js": "^4.2.0",
"dotenv": "^16.4.5",
"serve-handler": "^6.1.5",
"telegraf": "^4.16.3",
"stremio-addon-sdk": "latest"
"telegraf": "^4.16.3"
}
}

0 comments on commit 7e1dcd9

Please sign in to comment.