2026-03-06 16:27:54 +00:00
|
|
|
import { serve } from '@hono/node-server'
|
|
|
|
|
import { app } from './app.js'
|
|
|
|
|
|
|
|
|
|
const port = Number(process.env.PORT) || 9100
|
|
|
|
|
|
|
|
|
|
serve({ fetch: app.fetch, port }, () => {
|
|
|
|
|
console.log(`[botfights] server listening on http://localhost:${port}`)
|
|
|
|
|
})
|