Solve cors and show all endpoints when you got a 404 error