mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
22 lines
729 B
TypeScript
22 lines
729 B
TypeScript
/*
|
|
|--------------------------------------------------------------------------
|
|
| AdonisJs Server
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The contents in this file is meant to bootstrap the AdonisJs application
|
|
| and start the HTTP server to accept incoming connections. You must avoid
|
|
| making this file dirty and instead make use of `lifecycle hooks` provided
|
|
| by AdonisJs service providers for custom code.
|
|
|
|
|
*/
|
|
|
|
import 'reflect-metadata'
|
|
import sourceMapSupport from 'source-map-support'
|
|
import { Ignitor } from '@adonisjs/core/build/src/Ignitor'
|
|
|
|
sourceMapSupport.install({ handleUncaughtExceptions: false })
|
|
|
|
new Ignitor(__dirname)
|
|
.httpServer()
|
|
.start()
|
|
.catch(console.error)
|