Solution:
The error states that your client (axios) is sending a request which has a “cache-control” header ('cache-control': 'no-cache',
) but cache-control isn’t in Apache’s Access-Control-Allow-Headers
list of allowed headers. Add “cache-control” to that list or disable it in axios.