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:
parent
99c5b52deb
commit
01a735bb62
@ -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…
Reference in New Issue
Block a user