diff --git a/js/script.js b/js/script.js index 527b959..0e100a1 100644 --- a/js/script.js +++ b/js/script.js @@ -227,7 +227,7 @@ function downloadFile(event) { a.style = "display: none"; a.href = blobUrl; console.log(blobUrl); - a.download = title ; + a.download = title; a.click(); a.remove(); }, diff --git a/list.php b/list.php index 3d9d5b7..22c068f 100644 --- a/list.php +++ b/list.php @@ -6,7 +6,7 @@ ini_set('display_startup_errors', TRUE); $root = "/var/www/html";//$_SERVER["DOCUMENT_ROOT"]; -$directory = "/uploads"; +$directory = "/uploads/"; $absolute_directory = "$root$directory";