mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 04:51:56 +00:00
Update to 4.2.9
This commit is contained in:
4
iris.go
4
iris.go
@@ -78,7 +78,7 @@ import (
|
||||
|
||||
const (
|
||||
// Version is the current version of the Iris web framework
|
||||
Version = "4.2.8"
|
||||
Version = "4.2.9"
|
||||
|
||||
banner = ` _____ _
|
||||
|_ _| (_)
|
||||
@@ -239,7 +239,7 @@ func New(setters ...OptionSetter) *Framework {
|
||||
mux := newServeMux(s.Logger)
|
||||
mux.onLookup = s.Plugins.DoPreLookup
|
||||
s.contextPool.New = func() interface{} {
|
||||
return &Context{framework: s, Params: make(PathParameters, s.mux.maxParameters)}
|
||||
return &Context{framework: s}
|
||||
}
|
||||
// set the public router API (and party)
|
||||
s.muxAPI = &muxAPI{mux: mux, relativePath: "/"}
|
||||
|
||||
Reference in New Issue
Block a user