GOFMT
This commit is contained in:
@ -377,7 +377,6 @@ func New() *Cmd {
|
|||||||
options = append(options, server.RateLimit(v))
|
options = append(options, server.RateLimit(v))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
purgeDays := c.Int("purge-days")
|
purgeDays := c.Int("purge-days")
|
||||||
purgeInterval := c.Int("purge-interval")
|
purgeInterval := c.Int("purge-interval")
|
||||||
if purgeDays > 0 && purgeInterval > 0 {
|
if purgeDays > 0 && purgeInterval > 0 {
|
||||||
|
@ -194,7 +194,6 @@ func Purge(days, interval int) OptionFn {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func ForceHTTPs() OptionFn {
|
func ForceHTTPs() OptionFn {
|
||||||
return func(srvr *Server) {
|
return func(srvr *Server) {
|
||||||
srvr.forceHTTPs = true
|
srvr.forceHTTPs = true
|
||||||
|
Reference in New Issue
Block a user