Quickfix for VPN error message

This commit is contained in:
RemixDev
2021-09-30 17:17:43 +02:00
parent 2ca766a9e7
commit 27bd014a74
3 changed files with 13 additions and 10 deletions

View File

@@ -28,6 +28,9 @@ export async function isDeezerAvailable(): Promise<boolean> {
try {
response = await got.get('https://www.deezer.com/', {
headers: { Cookie: 'dz_lang=en; Domain=deezer.com; Path=/; Secure; hostOnly=false;' },
https: {
rejectUnauthorized: false
},
retry: 5
})
} catch (e) {