updates addon to a working state

This commit is contained in:
TheBeastLT
2020-03-11 15:05:09 +01:00
parent a2ea880cb6
commit 2acc9a7f2d
9 changed files with 168 additions and 23 deletions

6
addon/index.js Normal file
View File

@@ -0,0 +1,6 @@
const { serveHTTP } = require('stremio-addon-sdk');
const addonInterface = require('./addon');
const PORT = process.env.PORT || 7000;
serveHTTP(addonInterface, { port: PORT, cacheMaxAge: 86400 });