diff --git a/typescript/translucid/read.js b/typescript/translucid/read.js index 76644a7..25b2ce2 100644 --- a/typescript/translucid/read.js +++ b/typescript/translucid/read.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); const fs = require('fs'); function read(url) { return new Promise((resolve, reject) => { - fs.readFile(`${__dirname}/${url}`, "utf8", (err, data) => { + fs.readFile(`${__dirname}/../../${url}`, "utf8", (err, data) => { if (err) reject(err); resolve(data);