typescript(translucid): Fixed: 'UnhandledPromiseRejectionWar
typescript(translucid): ning: ReferenceError: sendfiles is not defined' Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
ccc239c393
commit
1cdc900c55
|
@ -53,7 +53,7 @@ class Translucid {
|
|||
else
|
||||
res.sendFile(prev);
|
||||
});
|
||||
decorated[0](sendfiles ? readResults : `${__dirname}/../../${filepath}`);
|
||||
decorated[0](sendFiles ? readResults : `${__dirname}/../../${filepath}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ class Translucid {
|
|||
res.sendFile(prev);
|
||||
});
|
||||
|
||||
decorated[0](sendfiles?readResults:`${__dirname}/../../${filepath}`);
|
||||
decorated[0](sendFiles?readResults:`${__dirname}/../../${filepath}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue