mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-03-11 17:15:37 +00:00
9 lines
292 B
JavaScript
9 lines
292 B
JavaScript
const express = require('express');
|
|
const serverless = require('./serverless');
|
|
|
|
const app = express();
|
|
|
|
app.use((req, res, next) => serverless(req, res, next));
|
|
app.listen(process.env.PORT || 7000, () => {
|
|
console.log(`Started addon at: http://localhost:${process.env.PORT || 7000}`);
|
|
});
|