removed redundant code

This commit is contained in:
Inside4ndroid
2024-08-01 09:22:21 +01:00
parent d0cc0f8563
commit 6464a3a2eb
3 changed files with 3 additions and 107 deletions
+1 -5
View File
@@ -8,7 +8,7 @@ const app = express()
app.get('/', (req, res) => {
res.status(200).json({
intro: "Welcome to the unofficial vidsrc provider: check the provider website @ https://${host}/ ",
intro: "Welcome to the unofficial vidsrc provider: check the provider website @ https://vidsrc.cc/ ",
routes: {
movie: "/vidsrc/:movieTMDBid",
show: "/vidsrc/:showTMDBid?s=seasonNumber&e=episodeNumber"
@@ -36,10 +36,6 @@ app.get('/vidsrc/:tmdbId', async (req, res) => {
}
});
function wait(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
app.listen(port, () => {
console.log(`Example app listening on port http://localhost:${port}`);
});