fix(docker): Instruct browser not to cache swagger-initializer.js (#7960)

This commit is contained in:
Adam Snyder
2022-03-31 11:41:45 -07:00
committed by GitHub
parent d9832f1b9a
commit 46c87bcbc1

View File

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