diff --git a/frontend/src/views/Print.vue b/frontend/src/views/Print.vue index 1b4724f..5d7376d 100644 --- a/frontend/src/views/Print.vue +++ b/frontend/src/views/Print.vue @@ -98,9 +98,9 @@ import {markRaw, nextTick} from "vue"; import QRCode from "qrcode"; import BaseLayout from "@/components/BaseLayout.vue"; -import {MultiPrinterBlob, canvasToBitmap, bitmapToCanvas} from "../../vendor/weblabel.mjs"; +import {MultiPrinterBlob, canvasToBitmap, bitmapToCanvas} from "../../vendor/weblabel.js"; -const BLOB_URL = new URL("../../vendor/libweblabel.mjs", import.meta.url).href; +const BLOB_URL = new URL("../../vendor/libweblabel.js", import.meta.url).href; const MAX_ZOOM = 4; /* never magnify the preview more than this */ const TRAILING_PADDING_PX = 3; /* blank columns after the cut, same idea as the leading margin */ diff --git a/frontend/vendor/libweblabel.mjs b/frontend/vendor/libweblabel.js similarity index 100% rename from frontend/vendor/libweblabel.mjs rename to frontend/vendor/libweblabel.js diff --git a/frontend/vendor/weblabel.mjs b/frontend/vendor/weblabel.js similarity index 100% rename from frontend/vendor/weblabel.mjs rename to frontend/vendor/weblabel.js