Skip to content

Commit df24823

Browse files
authored
fix swagger docs (#1457)
1 parent 292da6c commit df24823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/nginx/default.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
server {
1+
server {
22
listen 8080;
33
server_name frontend;
44
gzip on;
@@ -9,7 +9,7 @@ server {
99
index index.html index.htm;
1010
try_files $uri /index.html;
1111
}
12-
location ~* /[^/]*\.(?:ico|css|js|gif|jpe?g|png|woff2)$ {
12+
location ~* ^(?!/api)/[^/]*\.(?:ico|css|js|gif|jpe?g|png|woff2)$ {
1313
root /var/www/html;
1414
try_files $uri =404;
1515
add_header Cache-Control "public, immutable, max-age=2592000";

0 commit comments

Comments
 (0)