i try to collect image from uploads path using ejs, this is my file route

![path](https://i.stack.imgur.com/ZibKC.png)

this is my code on 'dotemplate.js'

```
<div class="col-xs-12">
    <h2 style="text-align: center; font-size: 12pt" >ATTACHMENT</h2>
    <hr size="10px">
    <div>

        <img src="/picture-1592300001150.jpg" alt="Attachment photo" />
    </div>
            <div> 

```

this is on 'controller.js' on path "ticket"

```
 ExportPDFdeorder: async function(req, res, next){
    const dord = await lstTicketById(req.params.id);
    try {
        const name = await Date.now();
        ejs.renderFile(path.join(__dirname, './template', "deorder.template.ejs"),{Ticket: dord,}, (err, data) => {
            if (err) {
                console.log(err);
                return res.status(500).json({status: "error", data: err});
            } else {
                let options = {
                    "format": "A4",
                    "orientation": "portrait",
                    "border": {
                        "top": "1cm",            // default is 0, units: mm, cm, in, px
                        "right": "2cm",
                        "bottom": "1cm",
                        "left": "1cm"
                    },
                };
                pdf.create(data, options).toFile(`temp/${name}.pdf`, function (err, data) {
                    if (err) {
                        res.send(err);
                    } else {
                        var file= `temp/${name}.pdf`;
                        fs.readFile(file,function(err,data){
                            res.contentType("application/pdf");
                            res.send(data);

                        });
                    }
                });
            }
        });
    } catch (e) {
        console.log(e)
        return res.status(500).json({status: "error", data: "internal server error"});
    }
}

```

};

this is my code on 'server.js'

```
app.use('./ticket', express.static('uploads'))

```

app.listen(config.port, () => console.log(`server started`));

i still cannot get image from upload path, can someone help to tell me whats wrong?