diff --git a/main.go b/main.go index 0351d44..e8ce808 100644 --- a/main.go +++ b/main.go @@ -120,7 +120,7 @@ func CheckFile(name string) bool { // false if doesn't exist, true if exists func UploadHandler(w http.ResponseWriter, r *http.Request) { // expiry sanitize - twentyfour := int64(10) + twentyfour := int64(86400) file, _, err := r.FormFile("file") if err != nil {