From afbb171844aa2d91d92002866202855cd64cba01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Weller?= Date: Thu, 16 May 2019 12:06:38 +0200 Subject: [PATCH] fix card url --- components/Card.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Card.vue b/components/Card.vue index cbe558a..10dc56c 100644 --- a/components/Card.vue +++ b/components/Card.vue @@ -18,8 +18,8 @@ export default { let currentPath = this.$router.history.current.path let reference = this.createReferenceTag(this.$props.title) - await this.$copyText(`https://webgems.io${currentPath}/?card=${reference}`) - this.$router.push(`${currentPath}/?card=${reference}`) + await this.$copyText(`https://webgems.io${currentPath}?card=${reference}`) + this.$router.push(`${currentPath}?card=${reference}`) } catch (e) { console.error(e); }