Replies: 1 comment 25 replies
-
First of all, you need to import your instance of const ctx = c.get('context') as Context<void>; // Ensure you get the context properly to the following line: const ctx = federation.createContext(c.req.raw, undefined); |
Beta Was this translation helpful? Give feedback.
25 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I have copied your demo code
and set up a app.post to allow me to send to this.
This is my CURL I used
The error we are getting is which means we are not passing the CTX as that is what I can see is the error. (note we are using Hono)
Beta Was this translation helpful? Give feedback.
All reactions