Skip to content

Commit

Permalink
Merge branch 'master' into feature-#189
Browse files Browse the repository at this point in the history
  • Loading branch information
lcsdavid committed Aug 9, 2021
2 parents 081bf79 + a24f15a commit 36ea60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/crow/routing.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace crow
#ifdef CROW_MAIN
uint16_t INVALID_BP_ID{0xFFFF};
#else
extern uint16_t INVALID_BP_ID{0xFFFF};
extern uint16_t INVALID_BP_ID;
#endif
/// A base class for all rules.

Expand Down Expand Up @@ -1332,7 +1332,7 @@ namespace crow
}
}
else if (!blueprint->static_dir_.empty())
methods.emplace_back(HTTPMethod::GET);
methods.emplace_back(HTTPMethod::Get);
for (auto& rule: blueprint->all_rules_)
{
rule->foreach_method([&methods](unsigned method){
Expand Down

0 comments on commit 36ea60b

Please sign in to comment.