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