Set shred time back to 24 hours
This commit is contained in:
parent
4a56cda040
commit
a1e18fa2e9
2
main.go
2
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) {
|
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user