mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-21 11:46:13 +00:00
configure nginx to run in container
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user