Feature Request
Q |
A |
New Feature |
yes |
RFC |
yes/no |
BC Break |
yes/no |
Summary
Requests are blocked between 2 hosts because of CORS
To fix this , in AlmaLinux9, add in /etc/httpd/sites-enabled/{your-host.conf}
inside <VirtualHost>
this line:
Header set Access-Control-Allow-Origin "*"
- this will allow any origin and you can replace *
with your host you you want a specific host, then restart the server