From the log you posted, it looks like you are trying to embed a dashboard from investigate instance running on localhost
In the production setup, you will probably be running Investigate behind some kind of a proxy (Apache, Nginx)
then you can configure the proxy to serve it on the same domain OR to serve the Access-Control-Allow-Origin header to allow CORS requests