Skip to content

Commit 01aa0bd

Browse files
committed
update RedirectController.cs
1 parent 4f57a78 commit 01aa0bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LinkRouter/App/Http/Controllers/RedirectController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public async Task<ActionResult> RedirectToExternalUrl(string path)
4545

4646
Console.WriteLine(path);
4747

48-
var redirectRoute = Config.CompiledRoutes?.FirstOrDefault(x => x.CompiledPattern.IsMatch(path));
48+
var redirectRoute = Config.CompiledRoutes!.FirstOrDefault(x => x.CompiledPattern.IsMatch(path));
4949

5050
if (redirectRoute == null)
5151
{

0 commit comments

Comments
 (0)