Wp Rest API modify header access-control-allow-origin by default. So if you change nginx config. It will make you crazy to debug.
Very simple
Just install this plugin: https://github.com/ahmadawais/WP-REST-Allow-All-CORS
Thank God you are here!
Wp Rest API modify header access-control-allow-origin by default. So if you change nginx config. It will make you crazy to debug.
Very simple
Just install this plugin: https://github.com/ahmadawais/WP-REST-Allow-All-CORS
Thank God you are here!