mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-09 16:03:54 +05:00
feat/api-prox: change run scripts
This commit is contained in:
parent
022dc7b284
commit
78b9776899
8 changed files with 159 additions and 15 deletions
9
api-prox/node.ts
Normal file
9
api-prox/node.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
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}`)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue