Add VPV license key fallback
This commit is contained in:
parent
ad6f7736c0
commit
13cbfd8309
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ import { storeToRefs } from "pinia";
|
||||||
import { VPdfViewer, useLicense } from "@vue-pdf-viewer/viewer";
|
import { VPdfViewer, useLicense } from "@vue-pdf-viewer/viewer";
|
||||||
import { useRoute, useRouter } from "vue-router";
|
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 });
|
useLicense({ licenseKey });
|
||||||
|
|
||||||
const { openedFile, isCommentsOpen, comments } = storeToRefs(useDialogStore());
|
const { openedFile, isCommentsOpen, comments } = storeToRefs(useDialogStore());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue