Update index.js
Browse files231 unmodified lines23223323423523523623723823924026 unmodified lines267268269268270271272273231 unmodified lines .set('json spaces', 4) .use(morgan('dev')) .use(express.json()) .all('/', (_, res) => res.json({ .all('/', (_, res) => { const host = 'https://' + req.get('host'); res.json({ "apiList": [ { "title": "Tiktok Downloader",26 unmodified lines "example": `${host}/ytsearch?q=`, } ]}))})}) .get('/yt', async (req, res) => { const host = 'https://' + req.get('host'); try {index.js+4-2