Download file for healthcheck

This commit is contained in:
speatzle 2024-05-09 20:07:38 +02:00
parent 445c1321ba
commit 8dc7d907a8
2 changed files with 60 additions and 6 deletions

View file

@ -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 {