Updates the Hub tooltip content using a web component and adds an option to disable Hub button

This commit is contained in:
Massimiliano D 2023-07-19 16:56:05 +02:00 committed by GitHub
parent 48de3b0230
commit e29da5ad65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 67 additions and 92 deletions

View file

@ -205,6 +205,10 @@ func setupServer(staticConfiguration *static.Configuration) (*server.Server, err
log.WithoutContext().Warn("Traefik Pilot has been removed.")
}
if staticConfiguration.API != nil {
version.DisableDashboardAd = staticConfiguration.API.DisableDashboardAd
}
// Plugins
pluginBuilder, err := createPluginBuilder(staticConfiguration)