I'm just trying to get setup with node.js/express/ejs. I know ejs isn't actual HTML and so I'm having a hard time just displaying a simple image. Can someone point me in the right direction?
Directory structure is:
- myApp/server.js
- myApp/views/index.ejs
- myApp/logo.jpg
Right now I have
// index.ejs
<img src = "../logo.jpg" />
Am I going about this the wrong way? Thanks.