configure nginx to run in container

This commit is contained in:
Evan
2025-03-02 09:39:36 -08:00
parent a6ab4da694
commit 38365fd9d0
9 changed files with 138 additions and 131 deletions
+2 -2
View File
@@ -585,7 +585,7 @@ export class HostLobbyModal extends LitElement {
private async putGameConfig() {
const response = await fetch(
`${getServerConfig().workerPath(this.lobbyId)}/game/${this.lobbyId}`,
`${window.location.origin}/${getServerConfig().workerPath(this.lobbyId)}/game/${this.lobbyId}`,
{
method: "PUT",
headers: {
@@ -610,7 +610,7 @@ export class HostLobbyModal extends LitElement {
);
this.close();
const response = await fetch(
`${getServerConfig().workerPath(this.lobbyId)}/start_game/${this.lobbyId}`,
`${window.location.origin}/${getServerConfig().workerPath(this.lobbyId)}/start_game/${this.lobbyId}`,
{
method: "POST",
headers: {