diff --git a/typescript/translucid/Translucid.js b/typescript/translucid/Translucid.js index 89416ab..840a785 100644 --- a/typescript/translucid/Translucid.js +++ b/typescript/translucid/Translucid.js @@ -19,7 +19,7 @@ class Translucid { bind(path = "/", filepath = "", text = false, classes = []) { this.app.get(path, async (req, res) => { if (!text) { - res.sendFile(`${__dirname}/${filepath}`); + res.sendFile(`${__dirname}/../../${filepath}`); } else { const readResults = await read_1.read(filepath);