forked from Ivasoft/traefik
refactor: fix some code.
This commit is contained in:
committed by
Traefiker
parent
07524f5c99
commit
0472d19bd4
@@ -134,7 +134,7 @@ func (p *Provider) loadConfig() *types.Configuration {
|
||||
templateObjects := struct {
|
||||
Prefix string
|
||||
}{
|
||||
// Allow `/traefik/alias` to superesede `p.Prefix`
|
||||
// Allow `/traefik/alias` to supersede `p.Prefix`
|
||||
strings.TrimSuffix(p.get(p.Prefix, p.Prefix+"/alias"), "/"),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user