Skip to content

Commit

Permalink
test: turn off service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-imba committed Jun 25, 2024
1 parent 4652049 commit 999e669
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
introduction: [
'You can write one or several paragraphs to introduce yourself here. You can find this introduction in the `config.js` file in the template.',
'In this site, almost everything supports Markdown Syntax. For example, you can add hyperlinks in the introduction such as [fxhsb](https://github.com/Reapor-Yurnero) with\n```markdown\n[fxhsb](https://github.com/Reapor-Yurnero)\n```',
'Here we try to test whether reloading is enabled when site updated (21).',
'Here we try to test whether reloading is enabled when site updated (22).',
],
avatar: 'avatar.png',
professions: [
Expand Down
3 changes: 2 additions & 1 deletion gatsby-theme-academic/gatsby-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ const config = ({
}
}
},
'gatsby-plugin-offline',
// 'gatsby-plugin-offline',
'gatsby-plugin-remove-serviceworker',
{
resolve: 'gatsby-source-filesystem',
options: {
Expand Down
3 changes: 2 additions & 1 deletion gatsby-theme-academic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@
"gatsby-plugin-lunr": "^1.5.2",
"gatsby-plugin-manifest": "^5.13.1",
"gatsby-plugin-mdx": "^5.13.1",
"gatsby-plugin-nprogress": "^5.13.1",
"gatsby-plugin-netlify": "^5.1.1",
"gatsby-plugin-nprogress": "^5.13.1",
"gatsby-plugin-offline": "^6.13.1",
"gatsby-plugin-react-helmet": "^6.13.1",
"gatsby-plugin-remove-serviceworker": "^1.0.0",
"gatsby-plugin-robots-txt": "^1.8.0",
"gatsby-plugin-sharp": "^5.13.1",
"gatsby-plugin-sitemap": "^6.13.1",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6691,6 +6691,11 @@ gatsby-plugin-react-helmet@^6.13.1:
dependencies:
"@babel/runtime" "^7.20.13"

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 sha512-8uQ/6PiM718BTZAgmQeEO6ULrJgLugmDVAkUGv5xxF0luBNrbboDgpsG0z1fbsotSDTzLWyULR0zzGNfWZaY7w==

gatsby-plugin-robots-txt@^1.8.0:
version "1.8.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-robots-txt/-/gatsby-plugin-robots-txt-1.8.0.tgz#f237b7e9bec2d8dc276305ff629ecf3df8277c63"
Expand Down

0 comments on commit 999e669

Please sign in to comment.