Skip to content

Commit

Permalink
Fix serviceWorker path for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
atotic committed Jan 31, 2024
1 parent 08dfa19 commit fd638d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# poker-simulator

You can

TODO
- shake to undo
- Usability
- share a hand with others
- default target should be marked
- shake to undo?z
- click on X twice to remove saved simulations (toaster shows this)
- better layout (iPhone curvature)
- how do I get a PWA app to update?
- installable from github pages
- run stats as a thread
- Chromium: cannot create max-content size column. Is this because table_layout_types.cc:InlineLayoutFromStyle is setting CellInlineConstraint::is_constrained to false?
- lets build and debug chromium. Set the breakpoint for max-content
Expand All @@ -21,7 +22,10 @@ TODO
- Lighting Web Components https://lwc.dev/. Noah Lawson
- prompt user to install offline if they use app offline
https://stackoverflow.com/questions/51160348/pwa-how-to-programmatically-trigger-add-to-homescreen-on-ios-safari

DONE
23-Jan-24
- installable from github pages
18-Jan-24
- when you make fewer players, try hard to keep existing filled in players
- improved stats display
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@
console.error("file:// has no service worker");
return;
}
navigator.serviceWorker.register("/serviceWorker.js", { scope: "/", })
navigator.serviceWorker.register("serviceWorker.js", { scope: "/", })
.then( reg => {
let registration = reg;
})
Expand Down

0 comments on commit fd638d4

Please sign in to comment.