From 0175a3a00702abe6e6d707378e842077464c06ee Mon Sep 17 00:00:00 2001 From: Tingyu Dong Date: Fri, 2 Feb 2024 17:35:06 +0800 Subject: [PATCH] ADM-800:[frontend]fix: fix Roboto font file corruption --- ops/infra/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ops/infra/nginx.conf b/ops/infra/nginx.conf index 97d72cad42..7b46202b44 100644 --- a/ops/infra/nginx.conf +++ b/ops/infra/nginx.conf @@ -28,5 +28,8 @@ http { location /api { proxy_pass http://backend:4322; } + location ~ \.(woff|woff2)$ { + add_header Content-Type “font/woff2”; + } } }