Closed demeringo closed 2 years ago
Wen using scanner without passing custom API URL, queries fails.
Run the scanner without passing any custom URL, fails because the default set in code includes a trailing slash (that make requests fail).
Unit tests pass because they use correct URL (only CLI, wich is not tested fails).
Should use https://api.boavizta.org (without trailing slash) as default.
https://api.boavizta.org
Bug description
Wen using scanner without passing custom API URL, queries fails.
To Reproduce
Run the scanner without passing any custom URL, fails because the default set in code includes a trailing slash (that make requests fail).
Unit tests pass because they use correct URL (only CLI, wich is not tested fails).
Expected behavior
Should use
https://api.boavizta.org
(without trailing slash) as default.