This commit is contained in:
Andrea Spacca
2021-01-05 17:24:16 +01:00
parent 6ac6c8fa99
commit d3381a2293
3 changed files with 15 additions and 17 deletions

View File

@ -194,7 +194,6 @@ func Purge(days, interval int) OptionFn {
}
}
func ForceHTTPs() OptionFn {
return func(srvr *Server) {
srvr.forceHTTPs = true
@ -288,8 +287,8 @@ type Server struct {
maxUploadSize int64
rateLimitRequests int
purgeDays time.Duration
purgeInterval time.Duration
purgeDays time.Duration
purgeInterval time.Duration
storage Storage