I was playing around a bit with it. Locally it was running well in Chrome without web security (with dev=true). However when I packaged and uploaded to my TFS for testing (dev=false), I get the same error :(
Failed to load https://..../tfs/..../_apis/git/repositories: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'null' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
VM89 app.bundle.min.js:63759 Server error RestfulTfsService.handleError @ VM89 app.bundle.min.js:63759
ERROR Error: Uncaught (in promise): Server error at _ (VM85 vendor.bundle.min.js:1) at VM85 vendor.bundle.min.js:1 at rejected (VM89 app.bundle.min.js:63860) at e.invoke (VM85 vendor.bundle.min.js:1) at Object.onInvoke (VM89 app.bundle.min.js:70724) at e.invoke (VM85 vendor.bundle.min.js:1) at n.run (VM85 vendor.bundle.min.js:1) at VM85 vendor.bundle.min.js:1 at e.invokeTask (VM85 vendor.bundle.min.js:1) at Object.onInvokeTask (VM89 app.bundle.min.js:70716)
Could you please help me to understand what I am doing wrong?
First of all thank you for your project!
I was playing around a bit with it. Locally it was running well in Chrome without web security (with
dev=true
). However when I packaged and uploaded to my TFS for testing (dev=false
), I get the same error :(Failed to load https://..../tfs/..../_apis/git/repositories: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'null' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
VM89 app.bundle.min.js:63759 Server error RestfulTfsService.handleError @ VM89 app.bundle.min.js:63759
ERROR Error: Uncaught (in promise): Server error at _ (VM85 vendor.bundle.min.js:1) at VM85 vendor.bundle.min.js:1 at rejected (VM89 app.bundle.min.js:63860) at e.invoke (VM85 vendor.bundle.min.js:1) at Object.onInvoke (VM89 app.bundle.min.js:70724) at e.invoke (VM85 vendor.bundle.min.js:1) at n.run (VM85 vendor.bundle.min.js:1) at VM85 vendor.bundle.min.js:1 at e.invokeTask (VM85 vendor.bundle.min.js:1) at Object.onInvokeTask (VM89 app.bundle.min.js:70716)
Could you please help me to understand what I am doing wrong?