Blame · Line-by-line history
app.tsx
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| 79136bb | 1 | import { Hono } from "hono"; |
| 2 | import { logger } from "hono/logger"; | |
| 3 | import { cors } from "hono/cors"; | |
| 05b973e | 4 | import { compress } from "hono/compress"; |
| 79136bb | 5 | import { Layout } from "./views/layout"; |
| 80bed05 | 6 | import { reportError } from "./lib/observability"; |
| 3ef4c9d | 7 | import { requestContext } from "./middleware/request-context"; |
| 8 | import { rateLimit } from "./middleware/rate-limit"; | |
| 79136bb | 9 | import gitRoutes from "./routes/git"; |
| 10 | import apiRoutes from "./routes/api"; | |
| 45e31d0 | 11 | import apiV2Routes from "./routes/api-v2"; |
| 12 | import apiDocsRoutes from "./routes/api-docs"; | |
| 79136bb | 13 | import authRoutes from "./routes/auth"; |
| 14 | import settingsRoutes from "./routes/settings"; | |
| 7298a17 | 15 | import settings2faRoutes from "./routes/settings-2fa"; |
| 79136bb | 16 | import issueRoutes from "./routes/issues"; |
| 17 | import repoSettings from "./routes/repo-settings"; | |
| 23d1a81 | 18 | import collaboratorRoutes from "./routes/collaborators"; |
| 04f6b7f | 19 | import teamCollaboratorRoutes from "./routes/team-collaborators"; |
| 20 | import invitesRoutes from "./routes/invites"; | |
| 21 | import liveEventsRoutes from "./routes/live-events"; | |
| 79136bb | 22 | import compareRoutes from "./routes/compare"; |
| 0074234 | 23 | import pullRoutes from "./routes/pulls"; |
| 24 | import editorRoutes from "./routes/editor"; | |
| c81ab7a | 25 | import forkRoutes from "./routes/fork"; |
| 26 | import webhookRoutes from "./routes/webhooks"; | |
| 27 | import exploreRoutes from "./routes/explore"; | |
| 28 | import tokenRoutes from "./routes/tokens"; | |
| 43de941 | 29 | import contributorRoutes from "./routes/contributors"; |
| 699e5c7 | 30 | import healthRoutes from "./routes/health-probe"; |
| 31 | import healthDashboardRoutes from "./routes/health"; | |
| 2316be6 | 32 | import statusRoutes from "./routes/status"; |
| 80bed05 | 33 | import helpRoutes from "./routes/help"; |
| b0148e9 | 34 | import marketingRoutes from "./routes/marketing"; |
| 5f2e749 | 35 | import pricingRoutes from "./routes/pricing"; |
| 5618f9a | 36 | import seoRoutes from "./routes/seo"; |
| 05cdb85 | 37 | import versionRoutes from "./routes/version"; |
| f295f78 | 38 | import { platformStatus } from "./routes/platform-status"; |
| 52ad8b1 | 39 | import publicStatsRoutes from "./routes/public-stats"; |
| 40 | import demoRoutes from "./routes/demo"; | |
| 16b325c | 41 | import insightRoutes from "./routes/insights"; |
| f1ab587 | 42 | import dashboardRoutes from "./routes/dashboard"; |
| 36b4cbd | 43 | import legalRoutes from "./routes/legal"; |
| bdbd0de | 44 | import importRoutes from "./routes/import"; |
| 14c3cc8 | 45 | import importBulkRoutes from "./routes/import-bulk"; |
| 46 | import migrationRoutes from "./routes/migrations"; | |
| 47 | import specsRoutes from "./routes/specs"; | |
| 79136bb | 48 | import webRoutes from "./routes/web"; |
| 0316dbb | 49 | import hookRoutes from "./routes/hooks"; |
| 50 | import eventsRoutes from "./routes/events"; | |
| 51 | import passkeyRoutes from "./routes/passkeys"; | |
| 52 | import oauthRoutes from "./routes/oauth"; | |
| 53 | import developerAppsRoutes from "./routes/developer-apps"; | |
| 54 | import themeRoutes from "./routes/theme"; | |
| 55 | import auditRoutes from "./routes/audit"; | |
| 56 | import reactionRoutes from "./routes/reactions"; | |
| 57 | import savedReplyRoutes from "./routes/saved-replies"; | |
| 58 | import deploymentRoutes from "./routes/deployments"; | |
| 59 | import orgRoutes from "./routes/orgs"; | |
| 60 | import notificationRoutes from "./routes/notifications"; | |
| 61 | import onboardingRoutes from "./routes/onboarding"; | |
| 62 | import adminRoutes from "./routes/admin"; | |
| 63 | import advisoriesRoutes from "./routes/advisories"; | |
| 64 | import aiChangelogRoutes from "./routes/ai-changelog"; | |
| 65 | import aiExplainRoutes from "./routes/ai-explain"; | |
| 66 | import aiTestsRoutes from "./routes/ai-tests"; | |
| 67 | import askRoutes from "./routes/ask"; | |
| 68 | import billingRoutes from "./routes/billing"; | |
| 6778ad2 | 69 | import stripeWebhookRoutes from "./routes/stripe-webhook"; |
| 0316dbb | 70 | import codeScanningRoutes from "./routes/code-scanning"; |
| 71 | import commitStatusesRoutes from "./routes/commit-statuses"; | |
| 72 | import copilotRoutes from "./routes/copilot"; | |
| 73 | import depUpdaterRoutes from "./routes/dep-updater"; | |
| 74 | import depsRoutes from "./routes/deps"; | |
| 75 | import discussionsRoutes from "./routes/discussions"; | |
| 76 | import environmentsRoutes from "./routes/environments"; | |
| 77 | import followsRoutes from "./routes/follows"; | |
| 78 | import gatesRoutes from "./routes/gates"; | |
| 79 | import gistsRoutes from "./routes/gists"; | |
| 80 | import graphqlRoutes from "./routes/graphql"; | |
| 2c2163e | 81 | import mcpRoutes from "./routes/mcp"; |
| 0316dbb | 82 | import marketplaceRoutes from "./routes/marketplace"; |
| 83 | import mergeQueueRoutes from "./routes/merge-queue"; | |
| 84 | import mirrorsRoutes from "./routes/mirrors"; | |
| 85 | import orgInsightsRoutes from "./routes/org-insights"; | |
| 86 | import packagesRoutes from "./routes/packages"; | |
| 87 | import packagesApiRoutes from "./routes/packages-api"; | |
| 88 | import pagesRoutes from "./routes/pages"; | |
| 89 | import projectsRoutes from "./routes/projects"; | |
| 90 | import protectedTagsRoutes from "./routes/protected-tags"; | |
| 91 | import pwaRoutes from "./routes/pwa"; | |
| 46d6165 | 92 | import installRoutes from "./routes/install"; |
| 0316dbb | 93 | import releasesRoutes from "./routes/releases"; |
| 94 | import requiredChecksRoutes from "./routes/required-checks"; | |
| 95 | import rulesetsRoutes from "./routes/rulesets"; | |
| 96 | import searchRoutes from "./routes/search"; | |
| 97 | import semanticSearchRoutes from "./routes/semantic-search"; | |
| 98 | import signingKeysRoutes from "./routes/signing-keys"; | |
| 99 | import sponsorsRoutes from "./routes/sponsors"; | |
| 100 | import ssoRoutes from "./routes/sso"; | |
| 46d6165 | 101 | import githubOauthRoutes from "./routes/github-oauth"; |
| 0316dbb | 102 | import symbolsRoutes from "./routes/symbols"; |
| 103 | import templatesRoutes from "./routes/templates"; | |
| 104 | import trafficRoutes from "./routes/traffic"; | |
| 105 | import wikisRoutes from "./routes/wikis"; | |
| 106 | import workflowsRoutes from "./routes/workflows"; | |
| 5ff9cc2 | 107 | import workflowArtifactsRoutes from "./routes/workflow-artifacts"; |
| 108 | import workflowSecretsRoutes from "./routes/workflow-secrets"; | |
| 46d6165 | 109 | import sleepModeRoutes from "./routes/sleep-mode"; |
| 52ad8b1 | 110 | import vsGithubRoutes from "./routes/vs-github"; |
| 59b6fb2 | 111 | import { authRateLimit, gitRateLimit, searchRateLimit } from "./middleware/rate-limit"; |
| 112 | import { csrfToken, csrfProtect } from "./middleware/csrf"; | |
| 79136bb | 113 | |
| 2316901 | 114 | import type { AuthEnv } from "./middleware/auth"; |
| 115 | ||
| 116 | const app = new Hono<AuthEnv>(); | |
| 79136bb | 117 | |
| 3ef4c9d | 118 | // Request context (request ID, start time) runs before everything else |
| 119 | app.use("*", requestContext); | |
| 05b973e | 120 | // Middleware — compression first (wraps all responses) |
| 121 | app.use("*", compress()); | |
| 122 | // Logger only on non-git routes to avoid overhead on clone/push | |
| 123 | app.use("*", async (c, next) => { | |
| 124 | if (c.req.path.includes(".git/")) return next(); | |
| 125 | return logger()(c, next); | |
| 126 | }); | |
| 79136bb | 127 | app.use("/api/*", cors()); |
| 290ea77 | 128 | |
| 129 | // Force fresh HTML on every request — kills browser HTTP cache holding stale | |
| 130 | // pre-redesign markup. JSON / static assets keep their own cache rules; only | |
| 131 | // text/html responses get the no-cache stamp. Without this, every push to | |
| 132 | // main left users staring at cached 80s-looking pages from before the design | |
| 133 | // landed. | |
| 134 | app.use("*", async (c, next) => { | |
| 135 | await next(); | |
| 136 | const ct = c.res.headers.get("content-type") || ""; | |
| 137 | if (ct.startsWith("text/html")) { | |
| 138 | c.header("cache-control", "no-cache, no-store, must-revalidate"); | |
| 139 | c.header("pragma", "no-cache"); | |
| 140 | c.header("expires", "0"); | |
| 141 | } | |
| 142 | }); | |
| 3ef4c9d | 143 | // Rate-limit API + auth endpoints (generous default) |
| 0316dbb | 144 | app.use("/api/*", rateLimit(120, 60_000, "api")); |
| 145 | app.use("/login", rateLimit(20, 60_000, "login")); | |
| 146 | app.use("/register", rateLimit(10, 60_000, "register")); | |
| 79136bb | 147 | |
| 59b6fb2 | 148 | // CSRF protection — set token on all requests, validate on mutations |
| 149 | app.use("*", csrfToken); | |
| 150 | app.use("*", csrfProtect); | |
| 151 | ||
| 45e31d0 | 152 | // Rate limit auth routes |
| 153 | app.use("/login", authRateLimit); | |
| 154 | app.use("/register", authRateLimit); | |
| 155 | ||
| 59b6fb2 | 156 | // Rate limit git operations |
| 157 | app.use("/:owner/:repo.git/*", gitRateLimit); | |
| 158 | ||
| 159 | // Rate limit search | |
| 160 | app.use("/:owner/:repo/search", searchRateLimit); | |
| 161 | app.use("/explore", searchRateLimit); | |
| 79136bb | 162 | |
| 163 | // Git Smart HTTP protocol routes (must be before web routes) | |
| 164 | app.route("/", gitRoutes); | |
| 165 | ||
| 45e31d0 | 166 | // REST API v1 (legacy) |
| 79136bb | 167 | app.route("/", apiRoutes); |
| 168 | ||
| 52ad8b1 | 169 | // Block L3 — /demo + /api/v2/demo/* live demo endpoints. Mounted BEFORE |
| 170 | // apiV2Routes so the /api/v2/demo/* JSON endpoints win over the v2 base | |
| 171 | // router's catch-shape, and BEFORE adminRoutes so the live /demo page | |
| 172 | // wins over the legacy /demo redirect in src/routes/admin.tsx. | |
| 173 | app.route("/", demoRoutes); | |
| 174 | ||
| 0316dbb | 175 | // REST API v2 (basePath /api/v2) |
| 176 | app.route("/", apiV2Routes); | |
| 177 | ||
| ad6d4ad | 178 | // Inbound API hooks (GateTest callback + backup PAT-authed /api/v1/gate-runs) |
| 179 | app.route("/", hookRoutes); | |
| 21f8dbd | 180 | app.route("/api/events", eventsRoutes); |
| ad6d4ad | 181 | |
| 45e31d0 | 182 | // API documentation |
| 183 | app.route("/", apiDocsRoutes); | |
| 79136bb | 184 | |
| 185 | // Auth routes (register, login, logout) | |
| 186 | app.route("/", authRoutes); | |
| 187 | ||
| 188 | // Settings routes (profile, SSH keys) | |
| 189 | app.route("/", settingsRoutes); | |
| 190 | ||
| 7298a17 | 191 | // 2FA / TOTP settings (Block B4) |
| 192 | app.route("/", settings2faRoutes); | |
| 193 | ||
| 2df1f8c | 194 | // WebAuthn / passkey routes (Block B5) |
| 195 | app.route("/", passkeyRoutes); | |
| 196 | ||
| 058d752 | 197 | // OAuth 2.0 provider (Block B6) |
| 198 | app.route("/", oauthRoutes); | |
| 199 | app.route("/", developerAppsRoutes); | |
| 200 | ||
| 6fc53bd | 201 | // Theme toggle (dark/light cookie) |
| 202 | app.route("/", themeRoutes); | |
| 203 | ||
| 204 | // Audit log UI | |
| 205 | app.route("/", auditRoutes); | |
| 206 | ||
| 207 | // Reactions API (issues, PRs, comments) | |
| 208 | app.route("/", reactionRoutes); | |
| 209 | ||
| 24cf2ca | 210 | // Saved replies (per-user canned comment templates) |
| 211 | app.route("/", savedReplyRoutes); | |
| 212 | ||
| 213 | // Environments + deployment history UI | |
| 214 | app.route("/", deploymentRoutes); | |
| 215 | ||
| 6563f0a | 216 | // Organizations + teams (Block B1) |
| 217 | app.route("/", orgRoutes); | |
| 218 | ||
| c81ab7a | 219 | // API tokens |
| 220 | app.route("/", tokenRoutes); | |
| 221 | ||
| 59b6fb2 | 222 | // Notifications |
| 3ef4c9d | 223 | app.route("/", notificationRoutes); |
| 224 | ||
| 79136bb | 225 | // Repo settings (description, visibility, delete) |
| 226 | app.route("/", repoSettings); | |
| 227 | ||
| 23d1a81 | 228 | // Repo collaborators (add/list/remove) |
| 229 | app.route("/", collaboratorRoutes); | |
| 230 | ||
| 04f6b7f | 231 | // Team-based repo collaborators (invite a whole team) |
| 232 | app.route("/", teamCollaboratorRoutes); | |
| 233 | ||
| 234 | // Collaborator invite accept flow (token-based) | |
| 235 | app.route("/", invitesRoutes); | |
| 236 | ||
| 237 | // Real-time SSE endpoint (topic-based live updates) | |
| 238 | app.route("/", liveEventsRoutes); | |
| 239 | ||
| c81ab7a | 240 | // Webhooks management |
| 241 | app.route("/", webhookRoutes); | |
| 242 | ||
| 79136bb | 243 | // Compare view (branch diffs) |
| 244 | app.route("/", compareRoutes); | |
| 245 | ||
| 246 | // Issue tracker | |
| 247 | app.route("/", issueRoutes); | |
| 248 | ||
| 0074234 | 249 | // Pull requests |
| 250 | app.route("/", pullRoutes); | |
| 251 | ||
| c81ab7a | 252 | // Fork |
| 253 | app.route("/", forkRoutes); | |
| 254 | ||
| 0074234 | 255 | // Web file editor |
| 256 | app.route("/", editorRoutes); | |
| 257 | ||
| 43de941 | 258 | // Contributors |
| 259 | app.route("/", contributorRoutes); | |
| 260 | ||
| 699e5c7 | 261 | // Health liveness + metrics endpoints |
| 2c34075 | 262 | app.route("/", healthRoutes); |
| 263 | ||
| f295f78 | 264 | // Cross-product platform status (public, CORS-open — see docs/PLATFORM_STATUS.md) |
| 265 | app.route("/api/platform-status", platformStatus); | |
| 266 | ||
| 52ad8b1 | 267 | // Block L4 — Public stats counters (powers landing-page social proof) |
| 268 | app.route("/", publicStatsRoutes); | |
| 269 | ||
| 270 | // Block L3 — Live /demo page + /api/v2/demo/* endpoints | |
| 271 | app.route("/", demoRoutes); | |
| 272 | ||
| 2316be6 | 273 | // Public /status — human-readable platform health page |
| 274 | app.route("/", statusRoutes); | |
| 275 | ||
| 80bed05 | 276 | // /help — quickstart + API cheatsheet |
| 277 | app.route("/", helpRoutes); | |
| 278 | ||
| 5f2e749 | 279 | // L8 — public /pricing page (free-tier polish). Mounted BEFORE marketing |
| 280 | // so the new editorial pricing layout wins the route; the legacy marketing | |
| 281 | // pricing remains as a safety net but is shadowed at the router. | |
| 282 | app.route("/", pricingRoutes); | |
| 283 | ||
| b0148e9 | 284 | // /pricing, /features, /about — marketing surface |
| 285 | app.route("/", marketingRoutes); | |
| 286 | ||
| 5618f9a | 287 | // SEO: robots.txt + sitemap.xml |
| 288 | app.route("/", seoRoutes); | |
| 289 | ||
| 05cdb85 | 290 | // /api/version — live build SHA + uptime; client poller uses this to |
| 291 | // surface 'New version available — reload' banners on deploy. | |
| 292 | app.route("/", versionRoutes); | |
| 293 | ||
| 699e5c7 | 294 | // Health dashboard (per-repo health page) |
| 295 | app.route("/", healthDashboardRoutes); | |
| 296 | ||
| 16b325c | 297 | // Insights (time-travel, dependencies, rollback) |
| 298 | app.route("/", insightRoutes); | |
| 299 | ||
| f1ab587 | 300 | // Command center dashboard |
| 301 | app.route("/", dashboardRoutes); | |
| 302 | ||
| 36b4cbd | 303 | // Legal pages (terms, privacy, AUP) |
| 304 | app.route("/", legalRoutes); | |
| 305 | ||
| bdbd0de | 306 | // GitHub import / migration |
| 307 | app.route("/", importRoutes); | |
| 14c3cc8 | 308 | app.route("/", importBulkRoutes); |
| 309 | app.route("/", migrationRoutes); | |
| 310 | ||
| 311 | // Spec-to-PR (experimental AI-generated draft PRs) | |
| 312 | app.route("/", specsRoutes); | |
| bdbd0de | 313 | |
| c81ab7a | 314 | // Explore page |
| 315 | app.route("/", exploreRoutes); | |
| 316 | ||
| 59b6fb2 | 317 | // Onboarding |
| 318 | app.route("/", onboardingRoutes); | |
| 319 | ||
| 0316dbb | 320 | // Admin + feature routes |
| 321 | app.route("/", adminRoutes); | |
| 322 | app.route("/", advisoriesRoutes); | |
| 323 | app.route("/", aiChangelogRoutes); | |
| 324 | app.route("/", aiExplainRoutes); | |
| 325 | app.route("/", aiTestsRoutes); | |
| 326 | app.route("/", askRoutes); | |
| 327 | app.route("/", billingRoutes); | |
| 6778ad2 | 328 | app.route("/", stripeWebhookRoutes); |
| 0316dbb | 329 | app.route("/", codeScanningRoutes); |
| 330 | app.route("/", commitStatusesRoutes); | |
| 331 | app.route("/", copilotRoutes); | |
| 332 | app.route("/", depUpdaterRoutes); | |
| 333 | app.route("/", depsRoutes); | |
| 334 | app.route("/", discussionsRoutes); | |
| 335 | app.route("/", environmentsRoutes); | |
| 336 | app.route("/", followsRoutes); | |
| 337 | app.route("/", gatesRoutes); | |
| 338 | app.route("/", gistsRoutes); | |
| 339 | app.route("/", graphqlRoutes); | |
| 2c2163e | 340 | app.route("/", mcpRoutes); |
| 0316dbb | 341 | app.route("/", marketplaceRoutes); |
| 342 | app.route("/", mergeQueueRoutes); | |
| 343 | app.route("/", mirrorsRoutes); | |
| 344 | app.route("/", orgInsightsRoutes); | |
| 345 | app.route("/", packagesRoutes); | |
| 346 | app.route("/", packagesApiRoutes); | |
| 347 | app.route("/", pagesRoutes); | |
| 348 | app.route("/", projectsRoutes); | |
| 349 | app.route("/", protectedTagsRoutes); | |
| 350 | app.route("/", pwaRoutes); | |
| 46d6165 | 351 | app.route("/", installRoutes); |
| 0316dbb | 352 | app.route("/", releasesRoutes); |
| 353 | app.route("/", requiredChecksRoutes); | |
| 354 | app.route("/", rulesetsRoutes); | |
| 355 | app.route("/", searchRoutes); | |
| 356 | app.route("/", semanticSearchRoutes); | |
| 357 | app.route("/", signingKeysRoutes); | |
| 358 | app.route("/", sponsorsRoutes); | |
| 359 | app.route("/", ssoRoutes); | |
| 46d6165 | 360 | app.route("/", githubOauthRoutes); |
| 0316dbb | 361 | app.route("/", symbolsRoutes); |
| 362 | app.route("/", templatesRoutes); | |
| 363 | app.route("/", trafficRoutes); | |
| 364 | app.route("/", wikisRoutes); | |
| 365 | app.route("/", workflowsRoutes); | |
| 5ff9cc2 | 366 | app.route("/", workflowArtifactsRoutes); |
| 367 | app.route("/", workflowSecretsRoutes); | |
| 46d6165 | 368 | app.route("/", sleepModeRoutes); |
| 52ad8b1 | 369 | app.route("/", vsGithubRoutes); |
| 0316dbb | 370 | |
| 79136bb | 371 | // Web UI (catch-all, must be last) |
| 372 | app.route("/", webRoutes); | |
| 373 | ||
| 374 | // Global 404 | |
| 375 | app.notFound((c) => { | |
| 376 | return c.html( | |
| 377 | <Layout title="Not Found"> | |
| e1db10e | 378 | <div class="error-page"> |
| 379 | <div class="error-page-code">404</div> | |
| 380 | <div class="eyebrow">Not found</div> | |
| 381 | <h1 class="display error-page-title"> | |
| 382 | That page <span class="gradient-text">isn't here.</span> | |
| 383 | </h1> | |
| 384 | <p class="error-page-sub"> | |
| 385 | The URL might be wrong, the resource might have moved, or you | |
| 386 | might not have permission to see it. | |
| 387 | </p> | |
| 388 | <div class="error-page-actions"> | |
| 389 | <a href="/" class="btn btn-primary btn-lg">Go home</a> | |
| 390 | <a href="/explore" class="btn btn-ghost btn-lg">Explore repos</a> | |
| 391 | </div> | |
| 392 | <div class="error-page-meta"> | |
| 393 | <span class="meta-mono">{c.req.method} {c.req.path}</span> | |
| 394 | </div> | |
| 79136bb | 395 | </div> |
| 396 | </Layout>, | |
| 397 | 404 | |
| 398 | ); | |
| 399 | }); | |
| 400 | ||
| 401 | // Global error handler | |
| 402 | app.onError((err, c) => { | |
| 80bed05 | 403 | reportError(err, { |
| 404 | requestId: c.get("requestId"), | |
| 405 | path: c.req.path, | |
| 406 | method: c.req.method, | |
| 407 | }); | |
| e1db10e | 408 | const requestId = c.get("requestId" as never) as string | undefined; |
| 79136bb | 409 | return c.html( |
| 410 | <Layout title="Error"> | |
| e1db10e | 411 | <div class="error-page"> |
| 412 | <div class="error-page-code error-page-code-err">500</div> | |
| 413 | <div class="eyebrow" style="color:var(--red)">Server error</div> | |
| 414 | <h1 class="display error-page-title"> | |
| 415 | Something <span class="gradient-text">went wrong.</span> | |
| 416 | </h1> | |
| 417 | <p class="error-page-sub"> | |
| 418 | The error has been reported. Try again — if it persists, file | |
| 419 | an issue with the request ID below. | |
| 420 | </p> | |
| 421 | <div class="error-page-actions"> | |
| 422 | <a href={c.req.path} class="btn btn-primary btn-lg">Retry</a> | |
| 423 | <a href="/" class="btn btn-ghost btn-lg">Go home</a> | |
| 424 | </div> | |
| 425 | {requestId && ( | |
| 426 | <div class="error-page-meta"> | |
| 427 | <span class="meta-mono">request-id: {requestId}</span> | |
| 428 | </div> | |
| 429 | )} | |
| 79136bb | 430 | {process.env.NODE_ENV !== "production" && ( |
| e1db10e | 431 | <pre class="error-page-trace">{err.message}</pre> |
| 79136bb | 432 | )} |
| 433 | </div> | |
| 434 | </Layout>, | |
| 435 | 500 | |
| 436 | ); | |
| 437 | }); | |
| 438 | ||
| 439 | export default app; |