Skip to content

Commit

Permalink
- added nginx config to disable index.html caching (#198)
Browse files Browse the repository at this point in the history
- updated app version
- updated sbc-common-components dependency
  • Loading branch information
severinbeauvais authored Apr 21, 2021
1 parent 2903265 commit 36d06bf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 26 deletions.
8 changes: 7 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,19 @@ http {

location /businesses/create {
alias /app;
try_files $uri /index.html;
try_files $uri @index;
gzip on;
gzip_vary on;
gzip_min_length 10240;
gzip_proxied any;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
gzip_disable "MSIE [1-6]\.";
}

location @index {
add_header Cache-Control no-cache;
expires 0;
try_files /index.html =404;
}
}
}
35 changes: 12 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "1.5.4",
"version": "1.5.6",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand All @@ -23,7 +23,7 @@
"launchdarkly-js-client-sdk": "^2.18.0",
"lodash": "^4.17.20",
"regenerator-runtime": "^0.13.7",
"sbc-common-components": "2.4.8",
"sbc-common-components": "2.4.15",
"uuid": "^8.3.1",
"vue": "^2.6.11",
"vue-affix": "^0.5.2",
Expand Down

0 comments on commit 36d06bf

Please sign in to comment.