PEssoal como faço resolver esse erro na configuração do Vhost do CloudPanel?
Access to XMLHttpRequest at ‘https://tatoscredito.com.br/wp-admin/admin-ajax.php’ from origin ‘https://sm.tatoscredito.com.br’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Access to XMLHttpRequest at ‘https://tatoscredito.com.br/wp-admin/admin-ajax.php’ from origin ‘https://sm.tatoscredito.com.br’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.Understand this errorAI
hook.js:1
POST https://tatoscredito.com.br/wp-admin/admin-ajax.php net::ERR_FAILED 406 (Not Acceptable)
(anonymous) @ hook.js:1
send @ jquery.min.js?ver=3.7.1:1
ajax @ jquery.min.js?ver=3.7.1:1
(anonymous) @ jquery-migrate.min.js?ver=3.4.1:1
(anonymous) @ jquery-migrate.min.js?ver=3.4.1:1
getSellerID @ cgv/:331
(anonymous) @ cgv/:504
dispatch @ jquery.min.js?ver=3.7.1:1
ce.event.add.v.handle @ jquery.min.js?ver=3.7.1:1Understand this errorAI
cgv/:1 Access to XMLHttpRequest at ‘https://tatoscredito.com.br/wp-admin/admin-ajax.php’ from origin ‘https://sm.tatoscredito.com.br’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.Understand this errorAI
hook.js:1
POST https://tatoscredito.com.br/wp-admin/admin-ajax.php net::ERR_FAILED 406 (Not Acceptable)