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, } });