Skip to content

Instantly share code, notes, and snippets.

@oprearocks
Last active December 19, 2016 21:39
Show Gist options
  • Save oprearocks/3d3fe5868e94e4ab2871a6255e3cda66 to your computer and use it in GitHub Desktop.
Save oprearocks/3d3fe5868e94e4ab2871a6255e3cda66 to your computer and use it in GitHub Desktop.
function fantasticMiddleware(req, res, next) {
console.log("I am fantastic!")
}
router.use("/listOrders", fantasticMiddleware);
router.use("/getTotal", fantasticMiddleware);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment