diff --git a/packages/core/src/render.ts b/packages/core/src/render.ts index 4e36f0b7..27fb467b 100644 --- a/packages/core/src/render.ts +++ b/packages/core/src/render.ts @@ -33,7 +33,7 @@ const renderCursors = async (configs: Record) => { // Render try { for (let svgPath of staticCursors) { - const buffer = fs.readFileSync(path.resolve(svgPath), "utf8"); + const buffer = fs.readFileSync(svgPath, "utf8"); if (!buffer) throw new Error(`${svgPath} File Read error`); // Generating HTML Template