Node JS Url Wrapper
Hi!
All images on a node js application are served through a common routing (such as /media/<resource file>). This kind of url exists on every src attribute on the application.
Without changing that, how can I change my node js server controller to get resources files from cloudinary instead of local files?
Today I have just a res.sendFile responding to that routing.
Thanks!
0
-
Hi,
Can you please share some more information regarding your use-case and requirements?
Note that Cloudinary's URLs are remote URLs that come from the CDN rather than from your server, therefore using the exact same URL won't work, unless you have a CNAME defined for your account (supported from the Advanced plan onward).
Thanks,
Itay
0
Post is closed for comments.
Comments
1 comment