Skip to content

Commit 46c87bc

Browse files
authored
fix(docker): Instruct browser not to cache swagger-initializer.js (#7960)
1 parent d9832f1 commit 46c87bc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docker/nginx.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ http {
3838
alias /usr/share/nginx/html/;
3939
expires 1d;
4040

41+
location ~ swagger-initializer.js {
42+
expires -1;
43+
include cors.conf;
44+
}
45+
4146
location ~* \.(?:json|yml|yaml)$ {
4247
#SWAGGER_ROOT
4348
expires -1;

0 commit comments

Comments
 (0)