typescript(translucid): hopefully...
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
d51f2eba4b
commit
e4ca1e7e50
|
@ -47,6 +47,7 @@ class Translucid {
|
|||
});
|
||||
}
|
||||
decorated.push((prev) => {
|
||||
res.contentType(`${__dirname}/../../${filepath}`);
|
||||
res.send(prev);
|
||||
});
|
||||
decorated[0](readResults);
|
||||
|
|
|
@ -55,6 +55,7 @@ class Translucid {
|
|||
});
|
||||
}
|
||||
decorated.push((prev:any):void => {
|
||||
res.contentType(`${__dirname}/../../${filepath}`);
|
||||
res.send(prev);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue