From 608794b451d1c4261b0b07c2c65bd83442dc0c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Fri, 6 Jan 2023 19:53:24 +0100 Subject: [PATCH] Corection --- WEB/View/src/JS/baseTest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB/View/src/JS/baseTest.js b/WEB/View/src/JS/baseTest.js index 63678324..c22e23b6 100644 --- a/WEB/View/src/JS/baseTest.js +++ b/WEB/View/src/JS/baseTest.js @@ -131,8 +131,8 @@ function run() { function saveCode() { var xhr = new XMLHttpRequest(); - xhr.open('POST', 'http://localhost/Scripted/WEB/index.php?action=saveCodeInCookie', true); - // xhr.open('POST', 'http://82.165.180.114/Scripted/WEB/index.php?action=saveCodeInCookie', true); + // xhr.open('POST', 'http://localhost/Scripted/WEB/index.php?action=saveCodeInCookie', true); + xhr.open('POST', 'http://82.165.180.114/Scripted/WEB/index.php?action=saveCodeInCookie', true); xhr.responseType = 'text'; xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.onload = function () {