add leaderboard embed image
Some checks failed
Deploy Backend / deploy (push) Has been cancelled
Deploy Website / deploy (push) Failing after 2m19s

This commit is contained in:
Lee
2024-10-16 02:27:59 +01:00
parent 3b691dae3c
commit a5e00e4850
8 changed files with 131 additions and 21 deletions

View File

@ -20,6 +20,7 @@ import { scoresaberService } from "@ssr/common/service/impl/scoresaber";
import { delay } from "@ssr/common/utils/utils";
import { connectScoreSaberWebSocket } from "@ssr/common/websocket/scoresaber-websocket";
import ImageController from "./controller/image.controller";
import ReplayController from "./controller/replay.controller";
// Load .env file
dotenv.config({
@ -152,7 +153,7 @@ app.use(
*/
app.use(
decorators({
controllers: [AppController, PlayerController, ImageController],
controllers: [AppController, PlayerController, ImageController, ReplayController],
})
);