proxy: use host not hostname to match header

This commit is contained in:
Jens Langhammer 2020-10-29 17:25:39 +01:00
parent 4d84f6d598
commit 6aaae53a19

View file

@ -168,7 +168,7 @@ func (a *APIController) bundleProviders() ([]*providerBundle, error) {
} }
bundles[idx] = &providerBundle{ bundles[idx] = &providerBundle{
a: a, a: a,
Host: externalHost.Hostname(), Host: externalHost.Host,
} }
bundles[idx].Build(provider) bundles[idx].Build(provider)
} }