Attempt at fixing the CORS error