Skip to content

Commit

Permalink
Merge pull request #503 from julianpoy/fix-cache-control-headers-s3
Browse files Browse the repository at this point in the history
Fix cache control headers in push_static_s3.sh
  • Loading branch information
julianpoy authored May 12, 2020
2 parents 442f993 + 565db9d commit 2313826
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Frontend/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<ion-toolbar>

<p class="ion-padding-start">
v{{ version }}<br />
{{ version }}<br />
<ion-menu-toggle auto-hide="false">
<a [routerLink]="[aboutDetailsHref]">Julian Poyourow</a>
</ion-menu-toggle>
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy/push_static_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sync_to_s3 () {

aws s3 sync $DIR s3://chefbook-static/frontend/$TAG/ \
--acl public-read \
--cache-control "Cache-Control:max-age=${CACHE_AGE}, must-revalidate"
--cache-control "max-age=${CACHE_AGE}, must-revalidate"
}

# Push to tagged path
Expand Down

0 comments on commit 2313826

Please sign in to comment.