This commit is contained in:
tuier 2016-09-28 22:29:27 +01:00
parent 17546c3a08
commit a58750992d
2 changed files with 3 additions and 4 deletions

View file

@ -683,7 +683,6 @@ func (server *Server) loadEntryPointConfig(entryPointName string, entryPoint *En
log.Debugf("Creating entryPoint redirect %s -> %s : %s -> %s", entryPointName, entryPoint.Redirect.EntryPoint, regex, replacement)
negroni := negroni.New()
negroni.Use(rewrite)
return negroni, nil
}