mirror of
https://github.com/ryanwtf7/hianime-api.git
synced 2026-04-17 13:31:44 +00:00
13 lines
230 B
TypeScript
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}`);
|