removed debug expiry
This commit is contained in:
parent
e89c72e06a
commit
0978b9c2c0
4
main.go
4
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) {
|
func UploadHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
// expiry sanitize
|
// expiry sanitize
|
||||||
// twentyfour := int64(86400)
|
twentyfour := int64(86400)
|
||||||
twentyfour := int64(10)
|
// twentyfour := int64(10)
|
||||||
|
|
||||||
file, _, err := r.FormFile("file")
|
file, _, err := r.FormFile("file")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user