Skip to content

Commit

Permalink
Edit PWA
Browse files Browse the repository at this point in the history
  • Loading branch information
salif committed Jun 24, 2024
1 parent d702b52 commit cec5fce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 129 deletions.
10 changes: 0 additions & 10 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,5 @@ <h1>{{ page.title }}</h1>
{% include style.html %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
<script>anchors.add();</script>
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", function () {
navigator.serviceWorker
.register("./serviceWorker.js")
.then(res => console.log("service worker registered"))
.catch(err => console.log("service worker not registered", err))
})
}
</script>
</body>
</html>
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "Globasa-Xwexi",
"short_name": "globasa-xwexi",
"short_name": "Globasa-Xwexi",
"id": "globasa-xwexi",
"start_url": "./index.html",
"display": "minimal-ui",
"display": "standalone",
"background_color": "#ffffff",
"description": "Content of pages for xwexi.globasa.net including Bulgarian translation",
"description": "Series of lessons and a complete grammar for Globasa, including Bulgarian translation.",
"icons": [
{
"src": "./icon-192.png",
Expand Down
116 changes: 0 additions & 116 deletions serviceWorker.js

This file was deleted.

0 comments on commit cec5fce

Please sign in to comment.