Skip to content

Commit

Permalink
Merge pull request #82 from daviddarnes/attempted-sw-fix
Browse files Browse the repository at this point in the history
Fix: Service Worker generation
  • Loading branch information
daviddarnes authored Feb 14, 2018
2 parents 568117a + 6cf5e49 commit cc0b5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifest.json → assets/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
permalink: "manifest.json"
---
{
"lang": "{{ site.lang | default: "en-US" }}",
Expand Down
1 change: 1 addition & 0 deletions sw.js → assets/scripts/sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
permalink: "/sw.js"
---
const version = '{{ site.time | date: '%Y%m%d%H%M%S' }}';
const cacheName = `static::${version}`;
Expand Down

0 comments on commit cc0b5d9

Please sign in to comment.