Skip to content

Commit

Permalink
feat(site): try new service worker for custom headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Vheissu committed Dec 22, 2024
1 parent ec3c51d commit 44793d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/aurelia-theme/assets/js/coi-serviceworker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions themes/aurelia-theme/layouts/partials/head/js.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
{{- end }}
{{- end }}
{{- end }}

{{- with resources.Get "js/coi-serviceworker.min.js" }}
<script src="{{ .RelPermalink }}"></script>
{{- end }}

0 comments on commit 44793d5

Please sign in to comment.