Przeglądaj źródła

Fixed shortened URLs in profile history not being the correct links

tags/3.0.0
Teknikode 3 lat temu
rodzic
commit
060c7fda80
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Teknik/Areas/User/Views/User/ViewProfile.cshtml

+ 1
- 1
Teknik/Areas/User/Views/User/ViewProfile.cshtml Wyświetl plik

@@ -206,7 +206,7 @@
<div class="tab-pane" id="shortenedUrls" style="overflow-y: auto; max-height: 500px;">
@foreach (Teknik.Areas.Shortener.Models.ShortenedUrl url in Model.ShortenedUrls)
{
string shortUrl = Url.SubRouteUrl(string.Empty, "Shortener.View", new { url = url.ShortUrl });
string shortUrl = string.Format("{0}://{1}/{2}", Request.Url.Scheme, Model.Config.ShortenerConfig.ShortenerHost, url.ShortUrl);
if (Model.Config.DevEnvironment)
{
shortUrl = Url.SubRouteUrl("shortened", "Shortener.View", new { url = url.ShortUrl });

Ładowanie…
Anuluj
Zapisz