Files
documenso/apps/remix/server/main.ts
Mythie 84ad7a6c2b wip
2025-01-07 12:45:53 +11:00

17 lines
337 B
TypeScript

import { serve } from '@hono/node-server';
import { getApp } from './app';
async function main() {
const app = await getApp();
serve(app, (info) => {
console.log(`Server is running on http://localhost:${info.port}`);
});
}
main().catch((error) => {
console.error('Failed to start server:', error);
process.exit(1);
});