mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
31 lines
525 B
TypeScript
31 lines
525 B
TypeScript
import { inject, injectable } from "tsyringe";
|
|
|
|
import { OnLoad } from "../di/OnLoad";
|
|
import { HttpServer } from "../servers/HttpServer";
|
|
|
|
@injectable()
|
|
export class HttpCallbacks implements OnLoad
|
|
{
|
|
constructor(
|
|
@inject("HttpServer") protected httpServer: HttpServer
|
|
)
|
|
{
|
|
}
|
|
|
|
public async onLoad(): Promise<void>
|
|
{
|
|
this.httpServer.load();
|
|
}
|
|
|
|
public getRoute(): string
|
|
{
|
|
return "aki-http";
|
|
}
|
|
|
|
|
|
public getImage(): string
|
|
{
|
|
return "";
|
|
}
|
|
}
|