parent
f033591c81
commit
e2d2f66e97
@ -44,7 +44,6 @@ func ListenAndServe(conf *config.Config) error {
|
|||||||
|
|
||||||
r.Use(cs.Handler)
|
r.Use(cs.Handler)
|
||||||
r.Use(middleware.NoCache)
|
r.Use(middleware.NoCache)
|
||||||
r.Use(middleware.Logger)
|
|
||||||
r.Use(middleware.Recoverer)
|
r.Use(middleware.Recoverer)
|
||||||
|
|
||||||
addr := net.JoinHostPort(conf.BindAddress, conf.Port)
|
addr := net.JoinHostPort(conf.BindAddress, conf.Port)
|
||||||
|
Loading…
Reference in New Issue
Block a user