1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

build fix

This commit is contained in:
Matthias Kretschmann 2018-08-07 00:55:37 +02:00
parent 542436f38b
commit a607223133
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 15 deletions

View File

@ -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: {

View File

@ -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))
})
})