Render.com Allow CORS
If you add another domain to a Render.com static site, you will likely see errors for CSS files, this is because CORS is not allowed
Steps to fix this -
- Click on the `Headers1 tab for the static site
- Click the
Add Header
- Set Request Path to
/css/*
or other path - Set Header Name to
Access-Control-Allow-Origin
- Set Header Value to
https://<additional-domain-name>
- Click the
Save Changes
button - Done !