feat: HG mode - změna obrázků, animace v modálech
CI / Generate TypeScript types (push) Successful in 10s
CI / Server unit tests (push) Successful in 27s
CI / Build server (push) Successful in 29s
CI / Build client (push) Successful in 43s
CI / Playwright E2E tests (push) Successful in 2m2s
CI / Build and push Docker image (push) Successful in 45s
CI / Notify (push) Successful in 2s

This commit is contained in:
Ondřej Anděl committed 2026-10-12 14:34:55 +02:00
1 parent 5147651e7c
commit 2a54a1d41f
7 files changed
+198 -2

No files matched your search

+5 -1
View File
@@ -29,7 +29,7 @@ import changelogRoutes from "./routes/changelogRoutes";
import groupRoutes from "./routes/groupRoutes";
import storeRoutes from "./routes/storeRoutes";
import butterflyRoutes from "./routes/butterflyRoutes";
import { getConfettiCharacters, getConfettiImage } from "./confetti";
import { getConfettiCharacters, getConfettiImage, getHellGirlImages } from "./confetti";
import { getTrustedRemoteUser, parseTrustedIps } from "./trustedHeaders";
import { getGroupLimits } from "./limits";
@@ -222,6 +222,10 @@ app.get("/api/confetti/umamusume", (_req, res) => {
res.set('Cache-Control', 'no-cache').json(getConfettiCharacters());
});
app.get("/api/confetti/hellgirl", (_req, res) => {
res.set('Cache-Control', 'no-cache').json(getHellGirlImages());
});
app.get("/api/confetti/image/:id", async (req, res, next) => {
try {
const id = req.params.id;