Server/project/src/callbacks/HttpCallbacks.ts
Refringe 5740774a46
Apply Biome Formatting
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00

21 lines
487 B
TypeScript

import { OnLoad } from "@spt/di/OnLoad";
import { HttpServer } from "@spt/servers/HttpServer";
import { inject, injectable } from "tsyringe";
@injectable()
export class HttpCallbacks implements OnLoad {
constructor(@inject("HttpServer") protected httpServer: HttpServer) {}
public async onLoad(): Promise<void> {
this.httpServer.load();
}
public getRoute(): string {
return "spt-http";
}
public getImage(): string {
return "";
}
}