Question: returning from localhost?

#2 · closed · 2 comments

View on GitHub ↗

thevangelist

How can I return images relative to the mock .js file?

Comments

webpro

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?

thevangelist

Thanks, I solved this by using dyson-image!