Skip to content

Commit 92ddbe7

Browse files
committed
Fix vue demo app
1 parent 86ff442 commit 92ddbe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/vue/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import PdfViewer from './components/PdfViewer.vue'
33
4-
const src: string | null = '/sample-pdf-file.pdf'
4+
const src: string | null = `${window.location.origin}/sample-pdf-file.pdf`
55
const viewerPath: string | null = '/pdfjs-viewer'
66
const page: string | null = '1'
77
const locale: string | null = 'uk'

0 commit comments

Comments
 (0)