Browse Source

Fixed shortener not redirecting properly

master
Teknikode 7 months ago
parent
commit
b62e2f1922
  1. 17
      Teknik/App_Data/endpointMappings.json

17
Teknik/App_Data/endpointMappings.json

@ -849,8 +849,19 @@ @@ -849,8 +849,19 @@
},
{
"Name": "Shortener.View",
"HostTypes": [ "Short", "Full" ],
"SubDomains": [ "", "shortened" ],
"HostTypes": [ "Full" ],
"SubDomains": [ "shortened" ],
"Pattern": "{url}",
"Area": "Shortener",
"Defaults": {
"controller": "Shortener",
"action": "RedirectToUrl"
}
},
{
"Name": "Shortener.View",
"HostTypes": [ "Short" ],
"SubDomains": [],
"Pattern": "{url}",
"Area": "Shortener",
"Defaults": {
@ -861,7 +872,7 @@ @@ -861,7 +872,7 @@
{
"Name": "Shortener.Verify",
"HostTypes": [ "Short" ],
"SubDomains": [ "" ],
"SubDomains": [],
"Pattern": "",
"Area": "Shortener",
"Defaults": {

Loading…
Cancel
Save