Download file for healthcheck
This commit is contained in:
parent
445c1321ba
commit
8dc7d907a8
2 changed files with 60 additions and 6 deletions
|
@ -68,7 +68,7 @@ func connectToServer(ctx context.Context, uuid uuid.UUID) {
|
|||
headers.Add(constants.UUID_HEADER, uuid.String())
|
||||
headers.Add(constants.WORKER_VERSION_HEADER, constants.WORKER_VERSION)
|
||||
|
||||
c, res, err := websocket.Dial(ctx, conf.Worker.Address, &websocket.DialOptions{
|
||||
c, res, err := websocket.Dial(ctx, conf.Worker.Address+"/worker", &websocket.DialOptions{
|
||||
HTTPHeader: headers,
|
||||
})
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue