Deleted AccountD
Convex Community9mo ago
3 replies
Deleted Account

Displaying PDF from external sources

What is the best way to display a PDF from an external source?

a. Going w/ http-actions and setup a proxy server to display PDFs downloaded from an external URL to the user?
OR
b. Create /api route to create a proxy endpoint and display to the frontend?

Some PDFs might be larger than 20MB in size, that's why I feel like b. is the most viable. I'm just making sure I'm not missing any in-built Convex functionality for this specific use case.
Was this page helpful?