0

I have these two methods inside a VenomBot class, that generates a QR Code image and stores it in a folder called images.

This is the organization of my code

And these are the functions that starts the process

Finally, that's the front-end EJS code that was supposed to show the QR Code

The problem is that everything is going fine, but when the QR Code was about to get loaded at the front-end, it appears that the EJS file isn't finding it, why?

I've already tried to change the image path in every way possible

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Fazollo
  • 3
  • 2

1 Answers1

0

Is it static middleware enabled , like this , app.use(express.static('/images'))

Joel Jorge
  • 11
  • 2