Skip to content

Commit

Permalink
Use path variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mis1eader-dev committed Sep 27, 2023
1 parent 6ddc82c commit f2743a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/HostRedirector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bool HostRedirector::redirectingAdvice(const HttpRequestPtr& req,
auto& rule = findRule->second;
auto& paths = rule.paths;
auto& path = req->path();
auto findPath = paths.find(req->path());
auto findPath = paths.find(path);
if (findPath != paths.end())
{
auto& redirectToHost = rule.redirectToHost;
Expand Down

0 comments on commit f2743a3

Please sign in to comment.