Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Hono Client Double-Prefixing Issue - Hono
H
Hono
•
11mo ago
•
7 replies
gave_one
Hono Client Double-Prefixing Issue
I
'm running into a problem with my Hono
-based project
. On the server
, I
've set up a base path with
:
app
.basePath
(
'
/AdminApi
'
)
;
so all routes
(like
/AdminApi
/test
) are automatically prefixed
.
In my client code
, I fixed the initialization by removing the extra
/AdminApi
:
const client
= hc
<APIRoutes
>
(
"
http://localhost:3000
"
)
;
But even after reloading VS Code
, restarting the TS server
, and cleaning
/rebuilding the project
, the issue still persists
.
Has anyone experienced something similar or have any ideas on what else I might check
?
Hono
Join
This is the official Hono discord server for the community
4,418
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Hono client issues with newrelic?
H
Hono / help
2y ago
Optional params in hono/client
H
Hono / help
2y ago
Hono tRPC Server body issue
H
Hono / help
3mo ago
@hono/zod-openapi Middleware Issue
H
Hono / help
9mo ago