From 4ad2f0f13e6fc5d36c3c0d233e2f1a0b7faa7169 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 1 Jan 2021 19:52:58 -0700 Subject: [PATCH] Adjust game URL to copy and remove unused parameter --- web/src/views/Lobby.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/views/Lobby.vue b/web/src/views/Lobby.vue index 1891a11..bb1a405 100644 --- a/web/src/views/Lobby.vue +++ b/web/src/views/Lobby.vue @@ -51,15 +51,15 @@ export default { return this.$store.state.name; }, gameURL() { - return `${window.location.protocol}//${window.location.host}?game=${this.$store.state.game_code}`; - } + return `${window.location.protocol}//${window.location.host}/?game=${this.$store.state.game_code}`; + }, }, methods: { copySuccess() { this.copyURLButtonText = `Game Link Copied!`; setTimeout(() => { this.copyURLButtonText = `Click to Copy Game Link`; }, 1000) }, - copyError(e) { + copyError() { this.$emit(`error`, { status: 418, message: `Failed to copy game URL`,