Skip to content

Commit

Permalink
Fix for mobile pages not loading (#9)
Browse files Browse the repository at this point in the history
There is known issue with gatsby-plugin-offline that can cause mobile
pages not to load.

gatsbyjs/gatsby#13410

Co-authored-by: Kris Evans <kevans@cloudflare.com>
  • Loading branch information
kris-evans and kris-evans committed Sep 13, 2020
1 parent 7796ef2 commit 35505ad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gatsby-config.js
Expand Up @@ -35,5 +35,8 @@ module.exports = {
`gatsby-plugin-offline`,
// For generating page metadata for search engines
`gatsby-plugin-react-helmet`,
// Fixes issue where page not showing on mobile.
// Issue: https://github.com/gatsbyjs/gatsby/issues/13410
`gatsby-plugin-remove-serviceworker`
],
}
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -24,6 +24,7 @@
"gatsby-plugin-manifest": "^2.4.28",
"gatsby-plugin-offline": "^3.2.27",
"gatsby-plugin-react-helmet": "^3.3.10",
"gatsby-plugin-remove-serviceworker": "^1.0.0",
"gatsby-source-filesystem": "^2.3.29",
"gatsby-transformer-remark": "^2.8.34",
"react": "^16.12.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Expand Up @@ -5587,6 +5587,11 @@ gatsby-plugin-react-helmet@^3.3.10:
dependencies:
"@babel/runtime" "^7.10.3"

gatsby-plugin-remove-serviceworker@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-remove-serviceworker/-/gatsby-plugin-remove-serviceworker-1.0.0.tgz#9fb433bc8bd766e14e1d3711c4ac6f051e1dff7c"
integrity sha1-n7QzvIvXZuFOHTcRxKxvBR4d/3w=

gatsby-plugin-typescript@^2.4.18:
version "2.4.18"
resolved "https://registry.yarnpkg.com/gatsby-plugin-typescript/-/gatsby-plugin-typescript-2.4.18.tgz#9361ef69f149f68e55ebf2d3f773b9aafce75df8"
Expand Down

0 comments on commit 35505ad

Please sign in to comment.