owopi
owopi
Explore posts from servers
HHono
Created by owopi on 4/23/2025 in #help
client of type unknown
I am having issues with the type inference of the client when using hono rpc I've read https://hono.dev/docs/guides/rpc, https://hono.dev/examples/grouping-routes-rpc, and https://github.com/honojs/hono/issues/3148 and have adjusted my code accordingly, but am still getting this issue please see my hono code: https://github.com/picafe/cs-ia/tree/hono/backend/src/routes and https://github.com/picafe/cs-ia/tree/hono/backend/src/index.ts client is here: https://github.com/picafe/cs-ia/blob/hono/client/src/lib/client.ts apologies in advance for my terrible code feel free to ask for any more details, any help would be very appreciated 🙏
27 replies
CDCloudflare Developers
Created by owopi on 11/2/2023 in #pages-help
unable to use envrionment variables using Astro JS
hello! I am trying to use environment variables in my static Astro JS site, but when using process.env.VAR or import.meta.env.VAR (like the Astro docs suggest), I get build errors for both. Whereas with netlify and vercel, both work and give me successful deploys I have added the same env vars in both, and my cf pages builds suceeded last week but the same code no longer works. Please let me know if more details are needed.
12 replies