From 652f6ec22aca1edec14e093bee3cb6e2cffa0db1 Mon Sep 17 00:00:00 2001
From: Nico Athanassiadis <nico@dsv.su.se>
Date: Tue, 4 Feb 2025 10:04:15 +0100
Subject: [PATCH] Removed unused const in validateFile function

---
 src/main/resources/static/js/script.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/resources/static/js/script.js b/src/main/resources/static/js/script.js
index 4f8ace2..e180c17 100644
--- a/src/main/resources/static/js/script.js
+++ b/src/main/resources/static/js/script.js
@@ -46,7 +46,6 @@ function validateFile() {
     const fileInput = document.getElementById('file');
     const filePath = fileInput.value;
     const allowedExtensions = /(\.mp3|\.mp4|\.mpeg|\.mpga|\.m4a|\.wav|\.webm|\.ogg)$/i;
-    const maxSize = 10 * 1024 * 1024; // 10 MB
 
     if (!allowedExtensions.exec(filePath)) {
         alert('File type is not one of the recommended types. We recommend using MP3, MP4, MPEG, MPGA, M4A, WAV, WEBM, OGG.\n' +