Hono RPC not setting cookies on fetch
When using the rpc client in nextjs, it doesn't include the headers for the request like a normal fetch does, this ends up leaving out items like cookies which is needed for authentication on the server.
Since i will mainly being using this API on the client side I have no way to pass in the cookies without passing it from the server which is not feasable.
What is a way around this?
github: https://github.com/jacobsamo/BuzzTrip/tree/improve-web
GitHub
GitHub - jacobsamo/BuzzTrip at improve-web
Plan the trip you've always dreamed of. Contribute to jacobsamo/BuzzTrip development by creating an account on GitHub.
0 Replies