Skip to content

Instantly share code, notes, and snippets.

@kusakawazeusu
Created September 25, 2019 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kusakawazeusu/ccdbad9a7702e114932aa953b93f9920 to your computer and use it in GitHub Desktop.
Save kusakawazeusu/ccdbad9a7702e114932aa953b93f9920 to your computer and use it in GitHub Desktop.
applying middleware to a single url
// 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