mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
updates addon to a working state
This commit is contained in:
6
addon/index.js
Normal file
6
addon/index.js
Normal 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 });
|
||||
Reference in New Issue
Block a user