Skip to content

Commit

Permalink
chore: use var instead string
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Oct 24, 2020
1 parent 1141ac5 commit 4a1297c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public async Task Invoke(HttpContext context)
? context.GetRouteName()
: context.Request.Path.ToString();
#else
string path = context.Request.Path.ToString();
var path = context.Request.Path.ToString();
#endif

path = NormalizePath.Execute(path, _options);
Expand Down

0 comments on commit 4a1297c

Please sign in to comment.