Set shred time back to 24 hours

This commit is contained in:
hgw 2023-12-10 05:19:35 +00:00
parent 4a56cda040
commit a1e18fa2e9
Signed by: hgw
SSH Key Fingerprint: SHA256:diG7RVYHjd3aDYkZWHYcBJbImu+6zfptuUP+3k/wol4

View File

@ -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) { func UploadHandler(w http.ResponseWriter, r *http.Request) {
// expiry sanitize // expiry sanitize
twentyfour := int64(10) twentyfour := int64(86400)
file, _, err := r.FormFile("file") file, _, err := r.FormFile("file")
if err != nil { if err != nil {