Commit21f8dbdunknown_key
feat(events): mount /api/events sub-app for deploy signal bus receiver
feat(events): mount /api/events sub-app for deploy signal bus receiver Makes the Crontech deploy event receiver (E3/E4) reachable in production by mounting the new events sub-app at /api/events. Without this mount the previously-landed POST /deploy handler was unreachable and Signal Bus P1 was inert. Orthogonal one-line route addition — no existing route behaviour is modified. https://claude.ai/code/session_0155D2jj2kJXaMEnyJhRpRLg
1 file changed+2−021f8dbdd4b5939afa3eabdf79e1a9dfa913f9420
1 changed file+2−0
Modifiedsrc/app.tsx+2−0View fileUnifiedSplit
@@ -29,6 +29,7 @@ import insightsRoutes from "./routes/insights";
2929import searchRoutes from "./routes/search";
3030import healthRoutes from "./routes/health";
3131import hookRoutes from "./routes/hooks";
32import eventsRoutes from "./routes/events";
3233import themeRoutes from "./routes/theme";
3334import auditRoutes from "./routes/audit";
3435import reactionRoutes from "./routes/reactions";
@@ -102,6 +103,7 @@ app.route("/", healthRoutes);
102103
103104// Inbound API hooks (GateTest callback + backup PAT-authed /api/v1/gate-runs)
104105app.route("/", hookRoutes);
106app.route("/api/events", eventsRoutes);
105107
106108// REST API
107109app.route("/", apiRoutes);
108110