Replies: 1 comment 2 replies
-
if (Method::POST == req.method() ||
Method::GET == req.method() ||
Method::HEAD == req.method()) && req.path() == "/ping" {
- Ok(res)
+ return Ok(res);
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i see many issues with using actix-web middleware features ... im trying to do very simple thing .
return ok on success fail on failure . but keep getting errors :
my code
//heartbeat.rs
//main.rs
The error :
Beta Was this translation helpful? Give feedback.
All reactions