From f2d10483addd6154d99944afe532b4cbbe5f2304 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Fri, 25 May 2018 14:49:07 -0400 Subject: [PATCH] Fixing content-type for service-worker in S3 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fe8a0d7..558725a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,7 +42,7 @@ jobs: command: | sudo apt-get -y -qq install awscli aws s3 sync build s3://$DEPLOY_BUCKET/ --delete - aws s3api copy-object --copy-source $DEPLOY_BUCKET/service-worker.js --bucket $DEPLOY_BUCKET --key service-worker.js --metadata-directive REPLACE --cache-control "max-age=0" + aws s3api copy-object --copy-source $DEPLOY_BUCKET/service-worker.js --bucket $DEPLOY_BUCKET --key service-worker.js --metadata-directive REPLACE --cache-control "max-age=0" --content-type "applicatoin/javascript" workflows: version: 2