Skip to content

Commit bb2da5f

Browse files
committed
Update connection to check for script
1 parent 56c587c commit bb2da5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

umami.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func (h *UmamiFeeder) connect(ctx context.Context, config *Config) error {
204204
return fmt.Errorf("`websites` should not be empty")
205205
}
206206

207-
_, err := sendRequest(ctx, h.host+"/health", nil, nil)
207+
_, err := sendRequest(ctx, h.host+"/api/script.js", nil, nil)
208208
if err != nil {
209209
return fmt.Errorf("Failed to get health for rybbit: %w", err)
210210
}

0 commit comments

Comments
 (0)