Returning / Rendering Satori SVG from Next.JS API route? #559
Unanswered
dominik-sfl
asked this question in
Q&A
Replies: 1 comment
-
Hi, take a look at Nextjs Image Response |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use satori in a similar way to vercel/og, but I need to use node.js runtime. However, I struggle to understand how to return the generated svg from my api, as an svg?
So far, what I have is this:
It does seem to generate an svg, but I don't know how to return it and display it in the browser from my next.js api route? Is there something I am missing?
Beta Was this translation helpful? Give feedback.
All reactions