Skip to content

Commit

Permalink
Set shred time back to 24 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
hgw8 committed Dec 10, 2023
1 parent 4a56cda commit a1e18fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a1e18fa

Please sign in to comment.