docs
This commit is contained in:
parent
56b2732133
commit
52a60b715d
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ function logger(next){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// passing any middleware to this middleware
|
||||||
|
// will make it conditional, and will not be used
|
||||||
|
// when an asset is requested. This is a modular
|
||||||
|
// approach to conditiona-middleware.js
|
||||||
|
|
||||||
function ignoreAssets(mw) {
|
function ignoreAssets(mw) {
|
||||||
return function(next){
|
return function(next){
|
||||||
return function *(){
|
return function *(){
|
||||||
|
|
Loading…
Reference in a new issue