0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00
server/project/src/callbacks/HttpCallbacks.ts
2023-03-03 15:23:46 +00:00

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 "";
}
}