We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86ff442 commit 92ddbe7Copy full SHA for 92ddbe7
demo/vue/src/App.vue
@@ -1,7 +1,7 @@
1
<script setup lang="ts">
2
import PdfViewer from './components/PdfViewer.vue'
3
4
-const src: string | null = '/sample-pdf-file.pdf'
+const src: string | null = `${window.location.origin}/sample-pdf-file.pdf`
5
const viewerPath: string | null = '/pdfjs-viewer'
6
const page: string | null = '1'
7
const locale: string | null = 'uk'
0 commit comments