You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Versions.
angular-cli: 1.0.0-beta.1
node: 5.10.0
os: darwin x64
Repro steps. I'm running a Spring-Boot server as my RESTful API and to serve up the initial html page. The html page then gets the angular app from a CDN. The Angular cli server acts like the CDN while we are developing. Both Spring and Angular cli are running on my local machine (with different ports). When the call to System.import() is made, I get a CORS error from the browser.
angular-cli: 1.0.0-beta.1
node: 5.10.0
os: darwin x64
XMLHttpRequest cannot load http://localhost:4200/system-config.js. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.
zone.js:323 Error: Error: XHR error loading http://localhost:4200/system-config.js(…)
I'm sure there must be a way to do this, but I've tried everything I can think of.