1
Fork 0

typescript(translucid): nnnnnnnnoooooooooooo

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-01-22 21:54:51 +02:00 committed by prescientmoon
parent 1feb795761
commit 49594865ea
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 4 additions and 4 deletions

View file

@ -47,8 +47,8 @@ class Translucid {
});
}
decorated.push((prev) => {
console.log(`${__dirname}/../../${filepath}`);
// res.contentType(`${__dirname}/../../${filepath}`);
// console.log(`${__dirname}/../../${filepath}`);
res.contentType(`${__dirname}/../../${filepath}`);
res.send(prev);
});
decorated[0](readResults);

View file

@ -55,8 +55,8 @@ class Translucid {
});
}
decorated.push((prev:any):void => {
console.log(`${__dirname}/../../${filepath}`);
// res.contentType(`${__dirname}/../../${filepath}`);
// console.log(`${__dirname}/../../${filepath}`);
res.contentType(`${__dirname}/../../${filepath}`);
res.send(prev);
});