Update index.js
Browse files234 unmodified lines235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270234 unmodified lines.all('/', (req, res) => {const host = 'https://' + req.get('host');res.json({"apiList": [{"title": "Tiktok Downloader","endpoint": "/tt","method": "GET","example": `${host}/tt?url=`,},{"title": "Facebook Downloader","endpoint": "/fb","method": "GET","example": `${host}/fb?url=`,},{"title": "Instagram Downloader","endpoint": "/ig","method": "GET","example": `${host}/ig?url=`,},{"title": "Youtube Downloader","endpoint": "/ytdl","method": "GET","example": `${host}/ytdl?url=`,},{"title": "Youtube Search","endpoint": "/ytsearch","method": "GET","example": `${host}/ytsearch?q=`,}]})})234 unmodified lines235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270234 unmodified lines.all('/', (req, res) => {const host = 'https://' + req.get('host');res.json({"List": [{"title": "Tiktok Downloader","method": "GET","example": `${host}/tt?url=`,},{"title": "Facebook Downloader","method": "GET","example": `${host}/fb?url=`,},{"title": "Instagram Downloader","method": "GET","example": `${host}/ig?url=`,},{"title": "Youtube Downloader","method": "GET","example": `${host}/ytdl?url=`,},{"title": "Youtube Search","method": "GET","example": `${host}/ytsearch?q=`,},{"title": "Pinterest Downloader","method": "GET","example": `${host}/pindl?url=`,}]})})
index.js+6-6