don't run whiteboard on 3000!
This commit is contained in:
parent
6950f43ead
commit
ca7378f62e
|
|
@ -17,4 +17,4 @@ const server = serve({
|
|||
},
|
||||
})
|
||||
|
||||
console.log(`Server running at ${server.url}`)
|
||||
console.log(`Todo running at ${server.url}:${server.port}`)
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@ const server = serve({
|
|||
},
|
||||
})
|
||||
|
||||
console.log(`Server running at ${server.url}`)
|
||||
console.log(`Werewolf running at ${server.url}:${server.port}`)
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user