diff --git a/website/Pages/EventHome.razor b/website/Pages/EventHome.razor index 4aee08b..6bbb3fc 100644 --- a/website/Pages/EventHome.razor +++ b/website/Pages/EventHome.razor @@ -110,7 +110,7 @@ else private string GetQRCodeForCurrentUrl() { string url = "https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=" + - NavigationManager.Uri + "?EventId=" + _eventId; + NavigationManager.BaseUri + "?EventId=" + _eventId; Console.WriteLine(url); return url; } diff --git a/website/Pages/Index.razor b/website/Pages/Index.razor index 2bc5153..fc5ba51 100644 --- a/website/Pages/Index.razor +++ b/website/Pages/Index.razor @@ -297,7 +297,7 @@ private string GetQRCodeForCurrentUrl() { string url = "https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=" + - NavigationManager.Uri + "?EventId=" + _eventId; + NavigationManager.BaseUri + "?EventId=" + _eventId; Console.WriteLine(url); return url; }