Files
hianime-api/index.ts
2026-03-27 00:33:48 +06:00

13 lines
230 B
TypeScript

import app from './src/app';
import config from './src/config/config';
const PORT = config.port;
Bun.serve({
port: PORT,
hostname: '0.0.0.0',
fetch: app.fetch,
});
console.log(`Server running at http://0.0.0.0:${PORT}`);