Closed mkb93 closed 6 months ago
I have found that there some middleware that can be added makes you create a static path that in my case substitutes data/assets so I can directly access my images. therefore i can call it the same way i called my http images earlier. the downside is that i would need to redefine the src = 'string' input when i host the api. help thanks to peter from codebar.
So up till now i've been using http link for the src reference link in the image. and that has been fine. But i was wondering how could i add an image to the website and store the image itself in my data/api.