Uploadthing Path Not Found HONO
This is my AppRouter config for /api path so the url is 127.0.0.1:8787, Ive used jstack as tho explained but the hono api dosent get the uploadthing path
appRouter.all("/uploadthing", (ctx) => {
return uploadthingHandlers({ ...ctx.env, ctx: ctx.executionCtx })(
ctx.req.raw
);
});const api = j
.router<{}, AppContext>()
.basePath("/api")
.use(corsMiddleware)
.onError(j.defaults.errorHandler);
const appRouter = j.mergeRouters(api, {
email: emailRouter,
admin: adminRouter,
ai: aiRouter,
property: propertyRouter,
uploadthing: uploadthingRouter,
map: mapsRouter,
blog: blogRouter,
room: roomRouter,
user: userRouter,
});[wrangler:inf] GET /api/uploadthing 404 Not Found (21ms)