mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-09 07:53:52 +05:00
9 lines
203 B
TypeScript
9 lines
203 B
TypeScript
import { serve } from '@hono/node-server'
|
|
import app from "./src/index.ts"
|
|
|
|
serve({
|
|
fetch: app.fetch,
|
|
port: 7001
|
|
}, (info) => {
|
|
console.log(`Server is running on http://localhost:${info.port}`)
|
|
})
|