I'm currently configuring a website to access CORS-enabled data from my server. The server has an access-control-allow-origin
header set to www.mysite.com
, but the request is coming from an origin with the header www.mysite.com:444
. This particular GET request aims to retrieve data from the server, which is designed to provide data to a section of my app operating within an iframe on another part of the site.
Regrettably, this request is being blocked. How can I ensure the success of this request? Should I remove the port number from the origin
header, or do I need to adjust the access-control-allow-origin
header on the server instead? (If modification is necessary, what steps should I take?)