diff --git a/typescript/translucid/Translucid.js b/typescript/translucid/Translucid.js index c58be4a..25d4b35 100644 --- a/typescript/translucid/Translucid.js +++ b/typescript/translucid/Translucid.js @@ -53,7 +53,7 @@ class Translucid { else res.sendFile(prev); }); - decorated[0](sendfiles ? readResults : `${__dirname}/../../${filepath}`); + decorated[0](sendFiles ? readResults : `${__dirname}/../../${filepath}`); }); } } diff --git a/typescript/translucid/Translucid.ts b/typescript/translucid/Translucid.ts index 2221a41..211f729 100644 --- a/typescript/translucid/Translucid.ts +++ b/typescript/translucid/Translucid.ts @@ -61,7 +61,7 @@ class Translucid { res.sendFile(prev); }); - decorated[0](sendfiles?readResults:`${__dirname}/../../${filepath}`); + decorated[0](sendFiles?readResults:`${__dirname}/../../${filepath}`); }); } }