Adapt args to work on windows

Former-commit-id: 7546fc82ac
This commit is contained in:
Owen
2025-12-07 17:44:10 -05:00
parent 1c47c0981c
commit 153b986100
3 changed files with 36 additions and 10 deletions

View File

@@ -348,6 +348,9 @@ func (c *Client) getToken() (string, []ExitNode, error) {
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-CSRF-Token", "x-csrf-protection")
// print out the request for debugging
logger.Debug("Requesting token from %s with body: %s", req.URL.String(), string(jsonData))
// Make the request
client := &http.Client{}
if tlsConfig != nil {