Skip to content

Commit

Permalink
removed debug expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
delorean committed Nov 1, 2023
1 parent e89c72e commit 0978b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
// expiry sanitize
// twentyfour := int64(86400)
twentyfour := int64(10)
twentyfour := int64(86400)
// twentyfour := int64(10)

file, _, err := r.FormFile("file")
if err != nil {
Expand Down

0 comments on commit 0978b9c

Please sign in to comment.