Ok..tkl@Magistross ...you you're talking about
[quote:1xhz1v05]When Site A tries to fetch content from Site B, Site B can send an Access-Control-Allow-Origin response header to tell the browser that the content of this page is accessible to certain origins. (An origin is a domain, plus a scheme and port number.) By default, Site B's pages are not accessible to any other origin; using the Access-Control-Allow-Origin header opens a door for cross-origin access by specific requesting origins.
this part..let's say...I understand
But ..This part in Manual confuses me...
If you want AJAX requests to your server to work from any domain, or in preview, you can configure it to send the following HTTP header:
Access-Control-Allow-Origin: *
This will enable AJAX requests from any domain....
so..if i want Cors to work in preview(on localhost:50000)
like this:
What i need to configure?