Unable to view Dashboard due to CORS

While I can run the dashboard locally, I’m unable to run it on a server. I’m running the dashboard as a separate docker container using these [official])(https://github.com/parse-community/parse-dashboard#run-with-docker) instructions on a non-SSL connection:

docker run -d -p 4040:4040 -v /path-to-ap/parse-dashboard-config.json:/src/Parse-Dashboard/parse-dashboard-config.json parseplatform/parse-dashboard --dev.

  • My Parse API is on port 80, and the route is /api, but when I try to access the dashboard the browser does not allow the connection

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://[my-domain]/api/schemas. (Reason: CORS request did not succeed).

Am I missing something?

you should enable cors where you deployed parse server