Browse Source

Fixed 'shortened' subdomain not routing correctly

tags/3.0.0^2
Teknikode 11 months ago
parent
commit
01a735bb62
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Routes.cs

+ 1
- 1
Teknik/Routes.cs View File

@@ -533,7 +533,7 @@ namespace Teknik
);
routes.MapSubdomainRoute(
name: "Shortener.View",
domains: new List<string>() { config.ShortenerConfig.ShortenerHost },
domains: new List<string>() { config.ShortenerConfig.ShortenerHost, config.Host },
subDomains: new List<string>() { string.Empty, "shortened" },
template: "{url}",
defaults: new { area = "Shortener", controller = "Shortener", action = "RedirectToUrl" }

Loading…
Cancel
Save