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 0978b9c2c0490f93060c147bdba7c5dd9253832a
parent e89c72e06a0cd5ca6bfbb31321a635f7d276718d Author: delorean <jackdelmar@protonmail.com> Date: Tue, 31 Oct 2023 21:01:27 -0500 removed debug expiry Diffstat:
|
1 file changed, 2 insertions(+), 2 deletions(-) |
diff --git a/main.go b/main.go @@ -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 { |