devguard
devguard copied to clipboard
Refine apiUrl to Prevent Issues with HTTP Requests
Check if the apiUrl ends with a "/"; if it does, remove it from the URL main: 467 req, err := http.NewRequestWithContext(ctx, "POST", apiUrl+"/api/v1/scan", file)