don't run whiteboard on 3000!

This commit is contained in:
Corey Johnson 2025-07-22 09:33:51 -07:00
parent 6950f43ead
commit ca7378f62e
3 changed files with 6 additions and 6 deletions

View File

@ -17,4 +17,4 @@ const server = serve({
},
})
console.log(`Server running at ${server.url}`)
console.log(`Todo running at ${server.url}:${server.port}`)

View File

@ -17,4 +17,4 @@ const server = serve({
},
})
console.log(`Server running at ${server.url}`)
console.log(`Werewolf running at ${server.url}:${server.port}`)

View File

@ -4,11 +4,9 @@ import { Agent, run, webSearchTool, type AgentInputItem } from "@openai/agents"
import fs from "node:fs"
import { getErrorMessage } from "@workshop/shared/errors"
import { tools } from "./tools"
import { OverlayItemSchema } from "./types"
import z from "zod"
Bun.serve({
port: 3000,
const server = Bun.serve({
port: process.env.PORT || 3000,
hostname: "0.0.0.0", // Accept connections from any IP
tls: {
key: Bun.file("certs/key.pem"),
@ -29,6 +27,8 @@ Bun.serve({
},
})
console.log(`Whiteboard running at ${server.url}:${server.port}`)
const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
})