Fixed front-end not contacting the proper path on the API