diff --git a/src/main/webapp/assets/js/components/widgets/comment.vue b/src/main/webapp/assets/js/components/widgets/comment.vue index 98a40a0..ef9f9c7 100644 --- a/src/main/webapp/assets/js/components/widgets/comment.vue +++ b/src/main/webapp/assets/js/components/widgets/comment.vue @@ -234,15 +234,13 @@ module.exports = { }, copyToClipBoard(text) { const getUrl = window.location; - let baseUrl = - getUrl.protocol + - "//" + - getUrl.host + - "/" + - getUrl.pathname.split("/")[1]; - if (baseUrl.endsWith("/")) { - baseUrl = baseUrl.slice(0, -1); - } + + // let baseUrl = getUrl.protocol + "//" + getUrl.host + "/" + getUrl.pathname.split("/")[1]; + // if (baseUrl.endsWith("/")) { + // baseUrl = baseUrl.slice(0, -1); + // } + + let baseUrl = getUrl.protocol + "//" + getUrl.host navigator.clipboard.writeText(`${baseUrl}${text}`).then( function () { diff --git a/src/main/webapp/assets/js/views/agenda.vue b/src/main/webapp/assets/js/views/agenda.vue index eae868f..67e8ace 100644 --- a/src/main/webapp/assets/js/views/agenda.vue +++ b/src/main/webapp/assets/js/views/agenda.vue @@ -171,11 +171,11 @@