diff --git a/scripty/dano.js b/scripty/dano.js index 9c53d2f..f60f3ee 100644 --- a/scripty/dano.js +++ b/scripty/dano.js @@ -1,6 +1,6 @@ async function dokelu() { const response = await fetch("/index.php?listfiles=1"); const tabulka = document.getElementById("tabulka"); - tabulka.innerHTML = response.text; + tabulka.innerHTML = await response.text(); } dokelu(); \ No newline at end of file