feat: synchronize account icons across game profiles

This commit is contained in:
Hide_D committed 2026-07-31 11:21:08 +00:00
1 parent c8adeeb47b
commit 5f20413552
87 files changed
+5755 -280

No files matched your search

+5
View File
@@ -24,6 +24,7 @@ import { RedisGatewaySessionService } from './auth/redisSessionService.js';
import { createGatewayOrchestrator } from './orchestrator/orchestratorFactory.js';
import { appRouter } from './router.js';
import { RepositoryProfileStatusService } from './lobby/profileStatusService.js';
import { registerAccountIconInternalRoute } from './auth/accountIconInternalRoute.js';
export const createGatewayApiServer = async () => {
const config = resolveGatewayApiConfigFromEnv();
@@ -78,6 +79,10 @@ export const createGatewayApiServer = async () => {
prefix: '/user-icons/',
decorateReply: false,
});
registerAccountIconInternalRoute(app, {
users,
secret: config.gameTokenSecret,
});
await app.register(fastifyTRPCPlugin, {
prefix: config.trpcPath,