mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-15 00:36:56 +08:00
feat: add X-Client-ID header for claw402 monitoring (#1414)
This commit is contained in:
@@ -236,6 +236,7 @@ func X402BuildRequest(url string, jsonData []byte) (*http.Request, error) {
|
|||||||
return nil, fmt.Errorf("fail to build request: %w", err)
|
return nil, fmt.Errorf("fail to build request: %w", err)
|
||||||
}
|
}
|
||||||
req.Header.Set("Content-Type", "application/json")
|
req.Header.Set("Content-Type", "application/json")
|
||||||
|
req.Header.Set("X-Client-ID", "nofx")
|
||||||
return req, nil
|
return req, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user