comparison benchmark/bun-http-framework-benchmark/dev/adonis/server.ts @ 185:dfdd66825396

Merged in keep alive changes and mrjunejune changes.
author MrJuneJune <me@mrjunejune.com>
date Fri, 23 Jan 2026 22:22:30 -0800
parents a8976a008a9d
children
comparison
equal deleted inserted replaced
182:d6ab5921fedc 185:dfdd66825396
1 /*
2 |--------------------------------------------------------------------------
3 | AdonisJs Server
4 |--------------------------------------------------------------------------
5 |
6 | The contents in this file is meant to bootstrap the AdonisJs application
7 | and start the HTTP server to accept incoming connections. You must avoid
8 | making this file dirty and instead make use of `lifecycle hooks` provided
9 | by AdonisJs service providers for custom code.
10 |
11 */
12
13 import 'reflect-metadata'
14 import sourceMapSupport from 'source-map-support'
15 import { Ignitor } from '@adonisjs/core/build/standalone'
16
17 sourceMapSupport.install({ handleUncaughtExceptions: false })
18
19 new Ignitor(__dirname).httpServer().start()