From e30a15d2ddfe482d815daec578a068a3c7d31d24 Mon Sep 17 00:00:00 2001 From: chiraglulla Date: Sat, 25 May 2024 18:33:49 +0530 Subject: [PATCH] bug: check, allow only video files and replace deprecated functions from go --- client/upload.html | 6 +++++- static/upload.js | 13 ++++++++++++- utils/util.go | 18 ++++++++++-------- 3 files changed, 27 insertions(+), 10 deletions(-) diff --git a/client/upload.html b/client/upload.html index a96f3a8..bd34f5b 100644 --- a/client/upload.html +++ b/client/upload.html @@ -41,7 +41,11 @@

Upload

placeholder="A movie about car racing." > - + +
+ + +