I created an sdk. When the css file is to be loaded, it gives this error.
The css file includes a .woff2 url for the font.
Even after removing that part of the code, the error persists.
I don't know how to handle this. Please help.
I created an sdk. When the css file is to be loaded, it gives this error.
The css file includes a .woff2 url for the font.
Even after removing that part of the code, the error persists.
I don't know how to handle this. Please help.
This is a .htaccess header. Red more here.
You have to remove this header in order to access this file.
Or set it to:
Access-Control-Allow-Origin: *
Adding:
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
in the nginx config file in the respective location block solved the problem.