Add VPV license key fallback

This commit is contained in:
Timothée Goguely 2024-12-19 16:51:12 +01:00
parent ad6f7736c0
commit 13cbfd8309

View file

@ -29,7 +29,7 @@ import { storeToRefs } from "pinia";
import { VPdfViewer, useLicense } from "@vue-pdf-viewer/viewer";
import { useRoute, useRouter } from "vue-router";
const licenseKey = import.meta.env.VITE_VPV_LICENSE;
const licenseKey = import.meta.env.VITE_VPV_LICENSE ?? 'd0ab730a-ebba-4060-856c-76d322565645';
useLicense({ licenseKey });
const { openedFile, isCommentsOpen, comments } = storeToRefs(useDialogStore());