mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 08:16:28 +01:00
Fix typo of permanent
Former-commit-id: 4ec356729f77ee54847f0dc7539498aca37943cc
This commit is contained in:
parent
8b4b96b895
commit
6a5fe5aee8
|
@ -879,7 +879,7 @@ func (c Configuration) GetVHost() string {
|
||||||
// DisablePathCorrection corrects and redirects the requested path to the registered path
|
// 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,
|
// for example, if /home/ path is requested but no handler for this Route found,
|
||||||
// then the Router checks if /home handler exists, if yes,
|
// then the Router checks if /home handler exists, if yes,
|
||||||
// (permant)redirects the client to the correct path /home.
|
// (permanent)redirects the client to the correct path /home.
|
||||||
func (c Configuration) GetDisablePathCorrection() bool {
|
func (c Configuration) GetDisablePathCorrection() bool {
|
||||||
return c.DisablePathCorrection
|
return c.DisablePathCorrection
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user