Pre-launch — Gluecron is in final validation. Public signups and git hosting for non-owner users open after launch review.
CodeIssuesPull RequestsActionsSecurityInsightsSettings
✨ AI
More
Blame · Line-by-line history

app.ts

Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.

app.tsBlame23 lines · 1 contributor
fc1817aClaude1import { Hono } from "hono";
2import { logger } from "hono/logger";
3import { cors } from "hono/cors";
4import gitRoutes from "./routes/git";
5import apiRoutes from "./routes/api";
6import webRoutes from "./routes/web";
7
8const app = new Hono();
9
10// Middleware
11app.use("*", logger());
12app.use("/api/*", cors());
13
14// Git Smart HTTP protocol routes (must be before web routes)
15app.route("/", gitRoutes);
16
17// REST API
18app.route("/", apiRoutes);
19
20// Web UI (catch-all, must be last)
21app.route("/", webRoutes);
22
23export default app;