mirror of
https://github.com/NohamR/Ciao-YGG.git
synced 2026-11-25 15:19:55 +00:00
[1.2.3] Fix Discord Post Content-Type
This commit is contained in:
1 parent
223181f15e
commit
1d3b14ea86
2 files changed
+2
-2
No files matched your search
@@ -185,7 +185,7 @@ function addToDiscord() {
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('POST', discordWebhookUrl);
|
||||
xhr.setRequestHeader('Content-Type', 'multipart/form-data');
|
||||
xhr.setRequestHeader('Content-Type', 'application/json');
|
||||
xhr.onload = function () {
|
||||
if (xhr.status === 204) {
|
||||
showAlert('valid_form_alert');
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "BetterYGG",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"description": "Téléchargez des torrents sur YGG sans ètre connecté et autres !!!",
|
||||
"icons": {
|
||||
"16": "img/flexgg16.png",
|
||||
|
||||
Reference in new issue
Block a user