Skip to content

placeholder can has a path config#72

Open
acecode wants to merge 1 commit intoblai:masterfrom
acecode:patch-1
Open

placeholder can has a path config#72
acecode wants to merge 1 commit intoblai:masterfrom
acecode:patch-1

Conversation

@acecode
Copy link

@acecode acecode commented Jan 5, 2015

if the placeholder is used at a path, the real middleware(s) will be used at the same path

app.use('/static', function staticPlaceholder(req, res, next ){
   next()
});

if the placeholder is `used` with a `path`, the real middleware(s) will be `used` with the same `path`

```
app.use('/static', function staticPlaceholder(req, res, next ){
   next()
});
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant