diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index cc3e45d..dc2b5ef 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -74,7 +74,6 @@ function change_proxy(value) { function change_logs(value) { - data = JSON.parse('{{data|tojson}}'); //convertit le dictionnaire data en JSON - document.getElementById("embed") + console.log(value); + document.getElementById("embed").src = "/static/logs/" + value + ".txt"; } -