mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
Update to 8.2.2 | Google reCAPTCHA. Read HISTORY.md
Former-commit-id: dc8ee74fa33b2fbc41659c9097955afb152d5a6f
This commit is contained in:
@@ -136,9 +136,9 @@ var WithoutInterruptHandler = func(app *Application) {
|
||||
app.config.DisableInterruptHandler = true
|
||||
}
|
||||
|
||||
// WithoutVersionCheck will disable the version checker and updater.
|
||||
var WithoutVersionCheck = func(app *Application) {
|
||||
app.config.DisableVersionCheck = true
|
||||
// WithoutVersionChecker will disable the version checker and updater.
|
||||
var WithoutVersionChecker = func(app *Application) {
|
||||
app.config.DisableVersionChecker = true
|
||||
}
|
||||
|
||||
// WithoutPathCorrection disables the PathCorrection setting.
|
||||
@@ -281,10 +281,10 @@ type Configuration struct {
|
||||
// Defaults to false.
|
||||
DisableInterruptHandler bool `yaml:"DisableInterruptHandler" toml:"DisableInterruptHandler"`
|
||||
|
||||
// DisableVersionCheck if true then process will be not be notified for any available updates.
|
||||
// DisableVersionChecker if true then process will be not be notified for any available updates.
|
||||
//
|
||||
// Defaults to false.
|
||||
DisableVersionCheck bool `yaml:"DisableVersionCheck" toml:"DisableVersionCheck"`
|
||||
DisableVersionChecker bool `yaml:"DisableVersionChecker" toml:"DisableVersionChecker"`
|
||||
|
||||
// DisablePathCorrection corrects and redirects the requested path to the registered path
|
||||
// for example, if /home/ path is requested but no handler for this Route found,
|
||||
@@ -607,7 +607,7 @@ func DefaultConfiguration() Configuration {
|
||||
return Configuration{
|
||||
DisableStartupLog: false,
|
||||
DisableInterruptHandler: false,
|
||||
DisableVersionCheck: false,
|
||||
DisableVersionChecker: false,
|
||||
DisablePathCorrection: false,
|
||||
EnablePathEscape: false,
|
||||
FireMethodNotAllowed: false,
|
||||
|
||||
Reference in New Issue
Block a user