diff options
Diffstat (limited to 'controller/file.go')
| -rw-r--r-- | controller/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/file.go b/controller/file.go index 7aed104..275cc15 100644 --- a/controller/file.go +++ b/controller/file.go @@ -41,7 +41,7 @@ func (app App) FilePost(res http.ResponseWriter, req *http.Request) { Protected: protected, Filename: formFileHeader.Filename, Data: fileData, - AvailableUntil: time.Now().Add(time.Hour * 2), + AvailableUntil: time.Now().Add(time.Hour * 24), } key, err := app.storage.Put(file) |
