UNPKG

@athenna/http

Version:

The Athenna Http server. Built on top of fastify.

16 lines (15 loc) 439 B
/** * @athenna/http * * (c) João Lenon <lenon@athenna.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { Router } from '#src/router/Router'; import { ServiceProvider } from '@athenna/ioc'; export class HttpRouteProvider extends ServiceProvider { register() { this.container.singleton('Athenna/Core/HttpRoute', Router); } }