0

I have the following file structure in my node.js server with two .png images...

enter image description here

I also have the following get request..

app.get("/getFile", function (request, response) {

     
    });

How do I send one or even both of these files to the frontend so that I can view the images in the browser?

IGJ
  • 57
  • 8
  • 1
    Does this answer your question? [How to serve an image using nodejs](https://stackoverflow.com/questions/5823722/how-to-serve-an-image-using-nodejs) – Raul Sauco Dec 13 '20 at 20:34
  • This depends more on the server than on using Angular, if you are serving static files you could just add an image tag in your `html` templates. – Raul Sauco Dec 13 '20 at 20:35

0 Answers0