best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
oops
wukkob0039466db52
diff --git a/package.json b/package.jsonindex 7df551ea..00e6cf73 100644--- a/package.json+++ b/package.json@@ -1,7 +1,7 @@{"name": "cobalt","description": "save what you love",- "version": "4.6.0",+ "version": "4.6.1","author": "wukko","exports": "./src/cobalt.js","type": "module",diff --git a/src/cobalt.js b/src/cobalt.jsindex 9cf475e4..f074a419 100644--- a/src/cobalt.js+++ b/src/cobalt.js@@ -101,7 +101,7 @@ if (fs.existsSync('./.env') && process.env.selfURL && process.env.streamSalt &&res.status(500).json({ 'status': 'error', 'text': loc(languageCode(req), 'ErrorCantProcess') })}});- app.get('/api/:type', cors({ origin: process.env.selfURL, optionsSuccessStatus: 200 }), async (req, res) => {+ app.get('/api/:type', cors({ origin: process.env.selfURL, optionsSuccessStatus: 200 }), (req, res) => {try {let ip = encrypt(req.header('x-forwarded-for') ? req.header('x-forwarded-for') : req.ip.replace('::ffff:', ''), process.env.streamSalt);switch (req.params.type) {