Answer the question
In order to leave comments, you need to log in
How to make CORS Nginx not block svg files?
Hello everyone, I add the following code to the Nginx config
location ~ \.(svg|ttf|woff2?)$ {
add_header Access-Control-Allow-Origin *;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question