removed debug expiry

This commit is contained in:
delorean 2023-10-31 21:01:27 -05:00
parent e89c72e06a
commit 0978b9c2c0

View File

@ -120,8 +120,8 @@ func CheckFile(name string) bool { // false if doesn't exist, true if exists
func UploadHandler(w http.ResponseWriter, r *http.Request) { func UploadHandler(w http.ResponseWriter, r *http.Request) {
// expiry sanitize // expiry sanitize
// twentyfour := int64(86400) twentyfour := int64(86400)
twentyfour := int64(10) // twentyfour := int64(10)
file, _, err := r.FormFile("file") file, _, err := r.FormFile("file")
if err != nil { if err != nil {