Update index.js
Browse files234 unmodified lines235236237238238239240241241242243244245247246247248249250253251252253254255259256257258259260265261262263264265266267268269270234 unmodified lines .all('/', (req, res) => { const host = 'https://' + req.get('host'); res.json({ "apiList": [ "List": [ { "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=`, }, { "title": "Pinterest Downloader", "method": "GET", "example": `${host}/pindl?url=`, } ]})})index.js+6-6