Correction
continuous-integration/drone/push Build is failing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 9a020f8130
commit 2341c1eddf

@ -1,5 +1,4 @@
function dashboard () { function dashboard () {
xhr.send(null);
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.open('POST', 'http://82.165.180.114/Scripted/index.php?action=getPlayersPseudo', true); xhr.open('POST', 'http://82.165.180.114/Scripted/index.php?action=getPlayersPseudo', true);
xhr.responseType = 'text'; xhr.responseType = 'text';
@ -7,6 +6,7 @@
var playersPseudo = xhr.onload = function () { var playersPseudo = xhr.onload = function () {
return JSON.parse(xhr.responseText); return JSON.parse(xhr.responseText);
} }
xhr.send(null);
data = []; data = [];

Loading…
Cancel
Save