proxy: use host not hostname to match header
This commit is contained in:
parent
4d84f6d598
commit
6aaae53a19
|
@ -168,7 +168,7 @@ func (a *APIController) bundleProviders() ([]*providerBundle, error) {
|
|||
}
|
||||
bundles[idx] = &providerBundle{
|
||||
a: a,
|
||||
Host: externalHost.Hostname(),
|
||||
Host: externalHost.Host,
|
||||
}
|
||||
bundles[idx].Build(provider)
|
||||
}
|
||||
|
|
Reference in New Issue