From 28edb6de803deb0130bd04485f58e83140f34856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Weller?= Date: Thu, 16 May 2019 09:41:52 +0200 Subject: [PATCH] remove trailing slash --- components/Card.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Card.vue b/components/Card.vue index e1f855b..15228d6 100644 --- a/components/Card.vue +++ b/components/Card.vue @@ -23,7 +23,7 @@ export default { let currentPath = this.$router.history.current.path let reference = this.$props.title.replace(/ /g, '').toLowerCase() - await this.$copyText(`https://webgems.io${currentPath}/#${reference}`) + await this.$copyText(`https://webgems.io${currentPath}#${reference}`) window.location.replace(`https://webgems.io${currentPath}#${reference}`) // this.$router.push(`${currentPath}#${reference}`)