@exezt-/webamp 1.5.0-0x3 → 1.5.0-0x4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10094,6 +10094,7 @@ class webamp_telegram_WinampTelegramCustomHandler {
|
|
|
10094
10094
|
x.open('get', `https://cloud-api.yandex.net/v1/disk/public/resources?public_key=${link}`, true);
|
|
10095
10095
|
x.setRequestHeader('Accept', 'application/json');
|
|
10096
10096
|
x.setRequestHeader('Content-Type', 'application/json');
|
|
10097
|
+
x.setRequestHeader('Access-Control-Allow-Origin', 'no-cors');
|
|
10097
10098
|
x.send();
|
|
10098
10099
|
|
|
10099
10100
|
x.onload = async () => {
|