mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-07 04:28:54 -06:00
groupware: fix debug server, was missing a lot of configuration options and was binding to :80
This commit is contained in:
@@ -16,6 +16,10 @@ func Server(opts ...Option) (*http.Server, error) {
|
||||
WithLogger(options.Logger)
|
||||
|
||||
return debug.NewService(
|
||||
debug.Address(options.Config.Debug.Addr),
|
||||
debug.Token(options.Config.Debug.Token),
|
||||
debug.Pprof(options.Config.Debug.Pprof),
|
||||
debug.Zpages(options.Config.Debug.Zpages),
|
||||
debug.Logger(options.Logger),
|
||||
debug.Name(options.Config.Service.Name),
|
||||
debug.Version(version.GetString()),
|
||||
|
||||
Reference in New Issue
Block a user