-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include an example of using middleware with the ExpressReceiver
#1973
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1973 +/- ##
=======================================
Coverage 82.21% 82.21%
=======================================
Files 18 18
Lines 1524 1524
Branches 438 438
=======================================
Hits 1253 1253
Misses 175 175
Partials 96 96 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -86,7 +91,7 @@ receiver.router.post('/secret-page', (req, res) => { | |||
|
|||
(async () => { | |||
await app.start(); | |||
console.log('⚡️ Bolt app started''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@seratch @WilliamBergamin Appreciate the reviews, thank you! 🙌 |
Summary
This PR adds an example of using middleware in web requests with the
ExpressReceiver
to the custom routes documentation.Notes
Requirements