Skip to content

Commit

Permalink
feat(proxy): ensure to proxy before the legacy guard route
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Jan 18, 2024
1 parent 90b553a commit aaed65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ const app = new Hono<Csp_Context & Sentry_Context>()
.get("/healthz", ({ text }) => text(`healthz check passed`))
.get("/livez", ({ text }) => text(`livez check passed`))
.route("/readyz", readyz)
.route("", proxy)
.route("", asserts_router)
.route("", auth_router)
.route("", welcome_router)
.route("", legacy)
.route("", proxy)
.notFound(async ({ html, var: { nonce } }) => {
return html(NotFound({ nonce }), 404);
})
Expand Down

0 comments on commit aaed65e

Please sign in to comment.