Skip to content

Commit

Permalink
include global connection to App in web options
Browse files Browse the repository at this point in the history
  • Loading branch information
bashar-515 committed Jan 31, 2025
1 parent 15c08ac commit 6b59470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/server/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ func (s *robotServer) createWebOptions(cfg *config.Config) (weboptions.Options,
if cfg.Cloud != nil && s.args.AllowInsecureCreds {
options.SignalingDialOpts = append(options.SignalingDialOpts, rpc.WithAllowInsecureWithCredentialsDowngrade())
}
options.SignalingDialOpts = append(options.SignalingDialOpts, rpc.WithConn(s.conn))

if len(options.Auth.Handlers) == 0 {
host, _, err := net.SplitHostPort(cfg.Network.BindAddress)
Expand Down

0 comments on commit 6b59470

Please sign in to comment.