I know this question has been asked before but not using the same setup as I do. I'm running this boilerplate NodeJS server locally. In my short demo, I want to be able to show an embedded OpenStreetMap map and be able to parse the iframe html to offer more functionality. As the server is running on localhost:3000, my browser will not allow me to read the html inside the iframe. I've installed npm - cors but the HTML won't show. The server also behaves strangely as it sometimes warns about the security error caused by CORS and sometimes not. Anyone got a clue how to achive what I want?
via Percolator
No comments:
Post a Comment