CORS policy when having a different backend URL
-
Hi there
We want to create some snippets on a website that uses different site and home urls. When trying to save a snippet, we get a network error and such a message in the console:
Access to XMLHttpRequest at 'https://***/wp-json/code-snippets/v1/snippets' from origin 'https://admin.***' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
With no other plugins such as WooCommerce did we have any issues with that setup. Is there a way to get your plugin working with this setup without changing the CORS policy?
Thanks a lot!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘CORS policy when having a different backend URL’ is closed to new replies.