Created
March 17, 2020 05:42
-
-
Save bpinedah/082329236dc82432a2dd6eae213d1d8a to your computer and use it in GitHub Desktop.
Routes article
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.get('/test/(.*)', async (req, res, next) => { | |
| req.test = { pre: true }; | |
| return next(req); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment