You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
273 B

import { Server, Origins } from "boardgame.io/server";
import { AcrossTheHex } from "./src/game.js";
const server = Server({
games: [AcrossTheHex],
origins: [Origins.LOCALHOST],
});
server.run({
port: 3100,
lobbyConfig: {
apiPort: 3200,
}
});