Skip to content

Commit

Permalink
fix(docker): Instruct browser not to cache swagger-initializer.js (#7960
Browse files Browse the repository at this point in the history
)
  • Loading branch information
armsnyder committed Mar 31, 2022
1 parent d9832f1 commit 46c87bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/nginx.conf
Expand Up @@ -38,6 +38,11 @@ http {
alias /usr/share/nginx/html/;
expires 1d;

location ~ swagger-initializer.js {
expires -1;
include cors.conf;
}

location ~* \.(?:json|yml|yaml)$ {
#SWAGGER_ROOT
expires -1;
Expand Down

0 comments on commit 46c87bc

Please sign in to comment.