Deliver translation files as content type json

This commit is contained in:
Johannes Zellner
2024-08-23 18:11:54 +02:00
parent e8b3232966
commit 88b8cb48fc

View File

@@ -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