diff --git a/components/presentation-url.vue b/components/presentation-url.vue index 9eb35eb..3c1e6cf 100644 --- a/components/presentation-url.vue +++ b/components/presentation-url.vue @@ -3,7 +3,7 @@ export default { data: () => { return { - href: window.location.origin, + href: window.location.host + window.location.pathname }; }, } diff --git a/components/qrcode-vue.vue b/components/qrcode-vue.vue index 8441608..1293d18 100644 --- a/components/qrcode-vue.vue +++ b/components/qrcode-vue.vue @@ -7,7 +7,7 @@ export default { data() { return { - value: window.location.origin, + value: window.location.origin + window.location.pathname, size: 300, } },