Skip to content

Commit

Permalink
Fix processConfig not updating debug or enableWebprofile (viamrobotic…
Browse files Browse the repository at this point in the history
  • Loading branch information
ale7714 committed Jun 14, 2024
1 parent beb6def commit e634e0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/server/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ func (s *robotServer) serveWeb(ctx context.Context, cfg *config.Config) (err err
if err != nil {
return nil, err
}
out.Debug = s.args.Debug || cfg.Debug
out.EnableWebProfile = s.args.WebProfile || cfg.EnableWebProfile
out.Debug = s.args.Debug || in.Debug
out.EnableWebProfile = s.args.WebProfile || in.EnableWebProfile
out.FromCommand = true
out.AllowInsecureCreds = s.args.AllowInsecureCreds
out.UntrustedEnv = s.args.UntrustedEnv
Expand Down

0 comments on commit e634e0b

Please sign in to comment.