When I call axios get always goes directly to the catch block displaying a network error in the console, Access to XMLHttpRequest at 'http://13.234.115.246/customers_log.php' from origin 'http://localhost:8080' has been blocked by CORS policy: Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response.
but the status code is 200
Request URL: http://13.234.115.246/customers_log.php Request Method: OPTIONS Status Code: 200 OK Remote Address: 13.234.115.246:80 Referrer Policy: no-referrer-when-downgrade
how to slove this problem