Deliver translation files as content type json
This commit is contained in:
@@ -288,6 +288,10 @@ server {
|
||||
location ~ ^/translation/ {
|
||||
root <%= sourceDir %>/dashboard/dist;
|
||||
add_header "Access-Control-Allow-Origin" "*";
|
||||
|
||||
types {
|
||||
application/json json;
|
||||
}
|
||||
}
|
||||
|
||||
# Cross domain webfont access for proxy auth login page https://github.com/h5bp/server-configs/issues/85
|
||||
|
||||
Reference in New Issue
Block a user