mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 02:56:26 +01:00
Fix typo of enable
Former-commit-id: 60236fce26699aa4483bcf1defcfddbe5d69b2e0
This commit is contained in:
parent
d9ccaae202
commit
2c929ade4e
|
@ -257,7 +257,7 @@ var WithoutAutoFireStatusCode = func(app *Application) {
|
|||
app.config.DisableAutoFireStatusCode = true
|
||||
}
|
||||
|
||||
// WithPathEscape enanbles the PathEscape setting.
|
||||
// WithPathEscape enables the PathEscape setting.
|
||||
//
|
||||
// See `Configuration`.
|
||||
var WithPathEscape = func(app *Application) {
|
||||
|
@ -271,7 +271,7 @@ var WithOptimizations = func(app *Application) {
|
|||
app.config.EnableOptimizations = true
|
||||
}
|
||||
|
||||
// WithFireMethodNotAllowed enanbles the FireMethodNotAllowed setting.
|
||||
// WithFireMethodNotAllowed enables the FireMethodNotAllowed setting.
|
||||
//
|
||||
// See `Configuration`.
|
||||
var WithFireMethodNotAllowed = func(app *Application) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user