mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
7 lines
199 B
JavaScript
7 lines
199 B
JavaScript
const { serveHTTP } = require('stremio-addon-sdk');
|
|
const addonInterface = require('./addon');
|
|
|
|
const PORT = process.env.PORT || 7000;
|
|
|
|
serveHTTP(addonInterface, { port: PORT, cacheMaxAge: 86400 });
|