diff --git a/gatsby-config.js b/gatsby-config.js index c02ef07..7100e1e 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -2,7 +2,7 @@ const path = require('path') const fs = require('fs') const yaml = require('js-yaml') const meta = yaml.load(fs.readFileSync('./data/meta.yml', 'utf8')) -const { url, matomoSite, matomoUrl, title, tagline } = meta +const { url, matomoSite, matomoUrl, title } = meta module.exports = { siteMetadata: { diff --git a/static/sw.js b/static/sw.js deleted file mode 100644 index 216f7b5..0000000 --- a/static/sw.js +++ /dev/null @@ -1,14 +0,0 @@ -self.addEventListener('install', function() { - self.skipWaiting() -}) - -self.addEventListener('activate', function() { - self.registration - .unregister() - .then(function() { - return self.clients.matchAll() - }) - .then(function(clients) { - clients.forEach(client => client.navigate(client.url)) - }) -})