From d0c292960ed25e53c6f23bb45f78b952c85168af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Fri, 6 Jan 2023 15:47:35 +0100 Subject: [PATCH] Corection --- WEB/View/src/JS/base.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WEB/View/src/JS/base.js b/WEB/View/src/JS/base.js index 62871d3f..7727aaef 100644 --- a/WEB/View/src/JS/base.js +++ b/WEB/View/src/JS/base.js @@ -131,7 +131,8 @@ function displayHelp() { function saveCode() { var xhr = new XMLHttpRequest(); - xhr.open('POST', 'http://localhost/Scripted/WEB/index.php?action=saveCode', true); + // xhr.open('POST', 'http://localhost/Scripted/WEB/index.php?action=saveCode', true); + xhr.open('POST', 'http://82.165.180.114/Scripted/WEB/index.php?action=saveCode', true); xhr.responseType = 'text'; xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.onload = function () {