1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Fixed 'shortened' subdomain not routing correctly

This commit is contained in:
Uncled1023 2019-01-13 21:52:18 -08:00
parent 99c5b52deb
commit 01a735bb62

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" }