Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ardean committed May 28, 2018
1 parent 7af5e4b commit 9936fe9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"serviceWorker": "/jsGBC-web/service-worker.js",
"start_url": "/jsGBC-web/",
"scope": "/jsGBC-web",
"scope": "/jsGBC-web/",
"theme_color": "#477c59",
"background_color": "#477c59",
"display": "fullscreen"
Expand Down
2 changes: 1 addition & 1 deletion docs/jsgbc-web.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"serviceWorker": "/jsGBC-web/service-worker.js",
"start_url": "/jsGBC-web/",
"scope": "/jsGBC-web",
"scope": "/jsGBC-web/",
"theme_color": "#477c59",
"background_color": "#477c59",
"display": "fullscreen"
Expand Down
2 changes: 1 addition & 1 deletion jsgbc-web.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/homescreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class Homescreen {
async bind() {
if ("serviceWorker" in navigator) {
try {
await navigator.serviceWorker.register("/jsGBC-web/service-worker.js", { scope: "/jsGBC-web" });
await navigator.serviceWorker.register("/jsGBC-web/service-worker.js", { scope: "/jsGBC-web/" });
} catch (err) {
console.log("No it didnt. This happened: ", err)
}
Expand Down

0 comments on commit 9936fe9

Please sign in to comment.