@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.
package/built/webamp.bundle.js
CHANGED
|
@@ -14803,6 +14803,7 @@ class webamp_telegram_WinampTelegramCustomHandler {
|
|
|
14803
14803
|
x.open('get', `https://cloud-api.yandex.net/v1/disk/public/resources?public_key=${link}`, true);
|
|
14804
14804
|
x.setRequestHeader('Accept', 'application/json');
|
|
14805
14805
|
x.setRequestHeader('Content-Type', 'application/json');
|
|
14806
|
+
x.setRequestHeader('Access-Control-Allow-Origin', 'no-cors');
|
|
14806
14807
|
x.send();
|
|
14807
14808
|
|
|
14808
14809
|
x.onload = async () => {
|