diff --git a/gatsby-browser.js b/gatsby-browser.js index 066084a..176fbad 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -27,8 +27,8 @@ export const wrapPageElement = wrapPageElementWithLayout // https://www.gatsbyjs.org/docs/add-offline-support-with-a-service-worker/#displaying-a-message-when-a-service-worker-updates export const onServiceWorkerUpdateReady = () => { const answer = window.confirm( - `This application has been updated. ` + - `Reload to display the latest version?` + 'This application has been updated. ' + + 'Reload to display the latest version?' ) if (answer === true) { window.location.reload() diff --git a/scripts/deploy.sh b/scripts/deploy.sh index e9dd3bc..2170ca5 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -16,6 +16,7 @@ function s3sync { --exclude "*.html" \ --exclude "sw.js" \ --exclude "*page-data.json" \ + --exclude "*app-data.json" \ --exclude "chunk-map.json" \ --exclude "sitemap.xml" \ --exclude ".iconstats.json" \ @@ -30,6 +31,7 @@ function s3sync { --include "*.html" \ --include "sw.js" \ --include "*page-data.json" \ + --include "*app-data.json" \ --include "chunk-map.json" \ --include "sitemap.xml" \ --include ".iconstats.json" \