VL
Size: a a a
VL
S🛸
S🛸
N
S🛸
А
ЯЛ
GS
А
АП
N
S🛸
N
А
АП
А
A
PS
a
IsMobilePhone
EI
app.get('/img/:path', (req, res) => {
const options = {
root: path.join(__dirname, 'assets/public'),
headers: {
'x-timestamp': Date.now(),
'x-sent': true
}
};
const coinPath = req.params.id;
res.sendFile(coinPath, options, (err) => {
console.log(err);
res.sendfile('coins/not-found.png', options, (ntfderr) => {
console.log(nferr);
res.sendStatus(404);
})
});
});