From f3c9454a929ea9c8990834cb9ff164bd2487e73e Mon Sep 17 00:00:00 2001 From: Clemens Solar Date: Sun, 11 Feb 2024 12:30:27 +0100 Subject: [PATCH] fix: use relative path for default font #27 --- src/worker/openSCAD.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/openSCAD.ts b/src/worker/openSCAD.ts index dce4c64..4bf13b5 100644 --- a/src/worker/openSCAD.ts +++ b/src/worker/openSCAD.ts @@ -27,7 +27,7 @@ class OpenSCADWrapper { printErr: this.logger('stdErr'), }); if (!defaultFont) { - const fontResponse = await fetch('/LiberationSans-Regular.ttf'); + const fontResponse = await fetch('LiberationSans-Regular.ttf'); defaultFont = await fontResponse.arrayBuffer(); }