thevangelist
How can I return images relative to the mock .js file?
#2 · closed · 2 comments
How can I return images relative to the mock .js file?
Hi @thevangelist. This lib returns base64 strings (not paths to images). So I'm not sure what you are trying to achieve. Maybe you are also using https://github.com/webpro/dyson-image to serve dummy images from a specific path?
Thanks, I solved this by using dyson-image!