Created
September 25, 2019 09:47
-
-
Save kusakawazeusu/ccdbad9a7702e114932aa953b93f9920 to your computer and use it in GitHub Desktop.
applying middleware to a single url
This file contains 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
// src/routes/auth.route.ts | |
this.router.get('/login', AuthMiddleware, this.authController.echo); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment