fix(gateway): accept normal tRPC batch paths

This commit is contained in:
2026-08-09 10:34:26 +00:00
parent 164d7e0f73
commit 773eab9e91
3 changed files with 47 additions and 0 deletions
+2
View File
@@ -28,6 +28,7 @@ import { RepositoryProfileStatusService } from './lobby/profileStatusService.js'
import { registerAccountIconInternalRoute } from './auth/accountIconInternalRoute.js';
import { installGatewayShutdownController } from './lifecycle/shutdownController.js';
import { RemoteUserIconStore } from './account/remoteUserIconStore.js';
import { gatewayFastifyRouterOptions } from './fastifyOptions.js';
export const createGatewayApiServer = async () => {
const config = resolveGatewayApiConfigFromEnv();
@@ -80,6 +81,7 @@ export const createGatewayApiServer = async () => {
const app = fastify({
logger: true,
routerOptions: gatewayFastifyRouterOptions,
});
await app.register(cors, {