Fix typo of permanent

Former-commit-id: 4ec356729f77ee54847f0dc7539498aca37943cc
This commit is contained in:
Success Go 2020-01-12 21:41:29 +08:00
parent 8b4b96b895
commit 6a5fe5aee8

View File

@ -879,7 +879,7 @@ func (c Configuration) GetVHost() string {
// 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,
// 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 {
return c.DisablePathCorrection
}