From 2047c3b691ee512c0b34484c49069e2c425bd950 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Thu, 26 Jan 2023 17:43:04 -0500 Subject: [PATCH] change url style --- audon-fe/src/locales/en.yaml | 2 +- audon-fe/src/views/HomeView.vue | 7 ++++++- webhooks.go | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/audon-fe/src/locales/en.yaml b/audon-fe/src/locales/en.yaml index b738ca6..2e85901 100644 --- a/audon-fe/src/locales/en.yaml +++ b/audon-fe/src/locales/en.yaml @@ -27,7 +27,7 @@ processing: "Processing now...
Keep this window open!" lostWarning: "Unsaved data will be lost if you leave the page, are you sure?" staticLink: title: "Your Audon Link" - hint: "Other can join to your room via this personal link while you're hosting." + hint: "Other participants can join to your room via this personal link while you're hosting." form: title: "Title" titleRequired: "Room title required" diff --git a/audon-fe/src/views/HomeView.vue b/audon-fe/src/views/HomeView.vue index 78acb4e..0ce7a9b 100644 --- a/audon-fe/src/views/HomeView.vue +++ b/audon-fe/src/views/HomeView.vue @@ -86,7 +86,12 @@ export default {

{{ $t("staticLink.hint") }}

diff --git a/webhooks.go b/webhooks.go index b5221be..5a73ab0 100644 --- a/webhooks.go +++ b/webhooks.go @@ -127,7 +127,7 @@ func livekitWebhookHandler(c echo.Context) error { messages := []string{ header, - fmt.Sprintf(":udon: %s\n🎙️ https://%s/r/%s", room.Title, mainConfig.LocalDomain, room.RoomID), + fmt.Sprintf(":udon: %s\n🎙️ https://%s/u/@%s", room.Title, mainConfig.LocalDomain, room.Host.Webfinger), } if room.Description != "" { messages = append(messages, room.Description)