-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionfeatureIssue that requests a new featureIssue that requests a new feature
Description
- OS? Mac OSX (El Capitan?)
- 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.
- The log given by the failure.
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(…) - Mention any other details that might be useful.
I'm sure there must be a way to do this, but I've tried everything I can think of.
igorantolic, machi1990, yahyaKacem, BenevidesLecontes, maxailloud and 10 moreWandersonjack
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionfeatureIssue that requests a new featureIssue that requests a new feature