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
I'm using DDEV as my Docker backend env and when launching the project with BrowserSync, the project get loaded from localhost:3000 or similar.
The main pages load with no issue, but any XHR action (for example pagination) performed from the page throwing the following CORS errors:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://pingcrm-react.ddev.site/organizations?page=2. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://projectddev.site/organizations?page=2. (Reason: CORS request did not succeed).
Sometimes the first XHR request works, but never the second or the following ones.
Is there anything I can do to make it work?
The text was updated successfully, but these errors were encountered:
I'm using DDEV as my Docker backend env and when launching the project with BrowserSync, the project get loaded from
localhost:3000
or similar.The main pages load with no issue, but any XHR action (for example pagination) performed from the page throwing the following CORS errors:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://pingcrm-react.ddev.site/organizations?page=2. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://projectddev.site/organizations?page=2. (Reason: CORS request did not succeed).
Sometimes the first XHR request works, but never the second or the following ones.
Is there anything I can do to make it work?
The text was updated successfully, but these errors were encountered: