hardfiles

- Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.acid.vegas/-c.git
Log | Files | Refs | Archive | README | LICENSE

commit a1e18fa2e96cbc688071b4c44ff03b733577470a
parent 4a56cda040569eea849fa0faec3e57f46c1286e1
Author: hgw <hgw7@yahoo.com>
Date: Sun, 10 Dec 2023 05:19:35 +0000

Set shred time back to 24 hours

Diffstat:
Mmain.go | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 {