mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-03 07:33:45 +00:00
fix port issue
This commit is contained in:
@@ -13,7 +13,6 @@ import { Global } from "../global"
|
||||
|
||||
export namespace Server {
|
||||
const log = Log.create({ service: "server" })
|
||||
const PORT = 16713
|
||||
|
||||
export type Routes = ReturnType<typeof app>
|
||||
|
||||
@@ -401,7 +400,7 @@ export namespace Server {
|
||||
|
||||
export function listen() {
|
||||
const server = Bun.serve({
|
||||
port: PORT,
|
||||
port: 0,
|
||||
hostname: "0.0.0.0",
|
||||
idleTimeout: 0,
|
||||
fetch: app().fetch,
|
||||
|
||||
Reference in New Issue
Block a user