Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 9d16b43

Browse files
committed
fix(cloudflare-workers): always mount registry router
1 parent a7cfcbe commit 9d16b43

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/drivers/cloudflare-workers/src/handler.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ export function createServer<R extends Registry<any>>(
8080
const app = hono ?? new Hono();
8181

8282
// Mount registry router at /registry
83-
if (!hono) {
84-
app.route("/registry", serverOutput.hono);
85-
}
83+
app.route("/registry", serverOutput.hono);
8684

8785
// Create Cloudflare handler
8886
const handler = {

0 commit comments

Comments
 (0)