Merge pull request #234 from thermeon/feature/quick_typo
Fix typo Unkown -> unknown in error
This commit is contained in:
commit
0e683cc535
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ func (server *Server) loadEntryPointConfig(entryPointName string, entryPoint *En
|
||||||
if len(entryPoint.Redirect.EntryPoint) > 0 {
|
if len(entryPoint.Redirect.EntryPoint) > 0 {
|
||||||
regex = "^(?:https?:\\/\\/)?([\\da-z\\.-]+)(?::\\d+)(.*)$"
|
regex = "^(?:https?:\\/\\/)?([\\da-z\\.-]+)(?::\\d+)(.*)$"
|
||||||
if server.globalConfiguration.EntryPoints[entryPoint.Redirect.EntryPoint] == nil {
|
if server.globalConfiguration.EntryPoints[entryPoint.Redirect.EntryPoint] == nil {
|
||||||
return nil, errors.New("Unkown entrypoint " + entryPoint.Redirect.EntryPoint)
|
return nil, errors.New("Unknown entrypoint " + entryPoint.Redirect.EntryPoint)
|
||||||
}
|
}
|
||||||
protocol := "http"
|
protocol := "http"
|
||||||
if server.globalConfiguration.EntryPoints[entryPoint.Redirect.EntryPoint].TLS != nil {
|
if server.globalConfiguration.EntryPoints[entryPoint.Redirect.EntryPoint].TLS != nil {
|
||||||
|
|
Loading…
Reference in a new issue