1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-24 13:19:29 -05:00

fileserver - fix dummy path

This commit is contained in:
otofune 2017-11-06 15:37:04 +09:00
parent a5160a1bba
commit 2ce3179d50

View file

@ -101,7 +101,7 @@ app.get('/:id', async (req, res) => {
const file = await DriveFile.findOne({ _id: fileId });
if (file == null) {
res.status(404).sendFile(`${__dirname} / assets / dummy.png`);
res.status(404).sendFile(`${__dirname}/assets/dummy.png`);
return;
}