Fixed bug detection API, added CORS and error handling 350dfeb Divyashree-Nanjappa commited on Mar 29