diff --git a/VoidCat/Pages/Index.cshtml b/VoidCat/Pages/Index.cshtml index 345363c..a6f2be0 100644 --- a/VoidCat/Pages/Index.cshtml +++ b/VoidCat/Pages/Index.cshtml @@ -1,6 +1,6 @@ @using VoidCat.Model @model VoidCat.Controllers.IndexController.IndexModel -@inject VoidSettings settings +@inject VoidSettings Settings
@@ -10,43 +10,45 @@ - + @if (Model.Meta != default) { - var ub = new UriBuilder(settings.SiteUrl) + var ubDownload = new UriBuilder(Settings.SiteUrl) { Path = $"/d/{Model.Id.ToBase58()}" }; - - var link = ub.ToString(); - + var ubView = new UriBuilder(Settings.SiteUrl) + { + Path = $"/{Model.Id.ToBase58()}" + }; +