update fairing.rs removed duplicate condition (#27)
the method == option check was present twice for apparently no reason (typo?)
This commit is contained in:
parent
5c0bb10b2d
commit
cc871967df
|
@ -107,7 +107,7 @@ fn on_response_wrapper(
|
||||||
//
|
//
|
||||||
// TODO: Is there anyway we can make this smarter? Only modify status codes for
|
// TODO: Is there anyway we can make this smarter? Only modify status codes for
|
||||||
// requests where an actual route exist?
|
// requests where an actual route exist?
|
||||||
if request.method() == http::Method::Options && request.method() == http::Method::Options &&
|
if request.method() == http::Method::Options &&
|
||||||
request.route().is_none()
|
request.route().is_none()
|
||||||
{
|
{
|
||||||
info_!(
|
info_!(
|
||||||
|
|
Loading…
Reference in New Issue