Update index.js
Browse files367 unmodified lines3683693703713723733745 unmodified lines3803813823833843853867 unmodified lines3943953963973983994007 unmodified lines4084094104114124134145 unmodified lines4204214224234244254265 unmodified lines4324334344354364374388 unmodified lines447448449450451452453367 unmodified linesres.redirect(await result.download());} catch (e) {console.log(e);return res.json({ message: e });}}).get('/ig', async (req,res) => {5 unmodified linesreturn res.json(data)} catch (e) {console.log(e);return res.json({ message: e });}}).get('/tt', async (req, res) => {7 unmodified linesreturn res.json(data)} catch (e) {console.log(e);return res.json({ message: e });}}).get('/pindl', async (req, res) => {7 unmodified linesreturn res.json(data)} catch (e) {console.log(e);return res.json({ message: e });}}).get('/fb', async (req, res) => {5 unmodified linesreturn res.json(data)} catch (e) {console.log(e);return res.json({ message: e });}}).get('/ytsearch', async (req, res) => {5 unmodified linesreturn res.json(data.all);} catch (e) {console.log(e);return res.json({ message: e });}}).get('/ytdl', async (req, res) => {8 unmodified lines})} catch (e) {console.log(e);return res.json({ message: e });}}).listen(7860, () => console.log('App running on port 7860'));367 unmodified lines3683693703713723733745 unmodified lines3803813823833843853867 unmodified lines3943953963973983994007 unmodified lines4084094104114124134145 unmodified lines4204214224234244254265 unmodified lines4324334344354364374388 unmodified lines447448449450451452453367 unmodified linesres.redirect(await result.download());} catch (e) {console.log(e);return res.json({ message: e.message });}}).get('/ig', async (req,res) => {5 unmodified linesreturn res.json(data)} catch (e) {console.log(e);return res.json({ message: e.message });}}).get('/tt', async (req, res) => {7 unmodified linesreturn res.json(data)} catch (e) {console.log(e);return res.json({ message: e.message });}}).get('/pindl', async (req, res) => {7 unmodified linesreturn res.json(data)} catch (e) {console.log(e);return res.json({ message: e.message });}}).get('/fb', async (req, res) => {5 unmodified linesreturn res.json(data)} catch (e) {console.log(e);return res.json({ message: e.message });}}).get('/ytsearch', async (req, res) => {5 unmodified linesreturn res.json(data.all);} catch (e) {console.log(e);return res.json({ message: e.message });}}).get('/ytdl', async (req, res) => {8 unmodified lines})} catch (e) {console.log(e);return res.json({ message: e.message });}}).listen(7860, () => console.log('App running on port 7860'));
index.js+7-7