devguard icon indicating copy to clipboard operation
devguard copied to clipboard

Refine apiUrl to Prevent Issues with HTTP Requests

Open refoo0 opened this issue 1 year ago • 0 comments

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)

refoo0 avatar Oct 08 '24 11:10 refoo0