Skip to content

Commit 192eefc

Browse files
committed
Fix host check
1 parent d9727b6 commit 192eefc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/web/src/components/Game/StartedGame.svelte

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
let stateSent = false;
3131
3232
const resourcesLink =
33-
session.host.startsWith("localhost") || session.host.endsWith("gitpod.io") || session.host === "boardgamers.space"
33+
session.host.startsWith("localhost") ||
34+
session.host.endsWith("gitpod.io") ||
35+
session.host.endsWith("boardgamers.space")
3436
? `/resources`
3537
: `//resources.${session.host.slice(session.host.indexOf(".") + 1)}`;
3638

0 commit comments

Comments
 (0)