diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index 5790603..5758551 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -56,8 +56,7 @@ function change_config(value) { } -function change_proxy(value, json) { - data = JSON.parse(json); //convertit le dictionnaire data en JSON +function change_proxy(value, data) { if (value == "{{len}}"){ document.getElementById("submit").value = "Create"; document.getElementById("address").value = ""; diff --git a/Flask/templates/proxy.html b/Flask/templates/proxy.html index 9fa69d5..5d0d12d 100644 --- a/Flask/templates/proxy.html +++ b/Flask/templates/proxy.html @@ -53,7 +53,7 @@