Skip to content

Commit

Permalink
fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
deebloo committed Aug 19, 2024
1 parent f0848d8 commit 2dcd84e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

go-board {
max-height: calc(100vh - 1rem);
background-image: url(assets/textures/kaya.jpg);
background-image: url(public/textures/kaya.jpg);
}

:not(:defined) {
Expand All @@ -35,7 +35,7 @@
</style>

<form action="/save-game">
<go-board name="board" sfx="/public/assets/sfx">
<go-board name="board" sfx="/public/sfx">
<!-- <go-marker slot="D4">
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

go-board {
max-height: calc(100vh - 1rem);
background-image: url(assets/textures/kaya.jpg);
background-image: url(textures/kaya.jpg);
}
</style>

Expand All @@ -50,7 +50,7 @@
board.readonly = url.searchParams.has("readonly");

if (url.searchParams.has("sfx")) {
board.sfx = `/assets/sfx`;
board.sfx = `/sfx`;
}

if (url.searchParams.has("ogsid")) {
Expand Down

0 comments on commit 2dcd84e

Please sign in to comment.