typescript(translucid): noooooooooo
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
f9bef432e3
commit
1feb795761
|
@ -46,7 +46,7 @@ class Translucid {
|
|||
toRun[i](prev, ...expressArgs, decorated[i + 1]);
|
||||
});
|
||||
}
|
||||
decorated.push((prev, req, res) => {
|
||||
decorated.push((prev) => {
|
||||
console.log(`${__dirname}/../../${filepath}`);
|
||||
// res.contentType(`${__dirname}/../../${filepath}`);
|
||||
res.send(prev);
|
||||
|
|
|
@ -54,7 +54,7 @@ class Translucid {
|
|||
toRun[i](prev, ...expressArgs, decorated[i + 1]);
|
||||
});
|
||||
}
|
||||
decorated.push((prev:any,req,res):void => {
|
||||
decorated.push((prev:any):void => {
|
||||
console.log(`${__dirname}/../../${filepath}`);
|
||||
// res.contentType(`${__dirname}/../../${filepath}`);
|
||||
res.send(prev);
|
||||
|
|
Loading…
Reference in a new issue