Skip to content

Commit

Permalink
docs(config): doc clarifications middleware feature
Browse files Browse the repository at this point in the history
  • Loading branch information
shanear committed Oct 14, 2015
1 parent f5838c3 commit 8984164
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/config/01-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,11 @@ httpsServerOptions: {

**Default:** `[]`

**Description:** List of names of additional middleware you want the karma server to use.
**Description:** List of names of additional middleware you want the karma server to use. Middleware will be used in the order listed.

You must have installed the middleware via a plugin/framework (either inline or via NPM). An example of custom inline middleware is shown below. Additional information can be found in [plugins].
You must have installed the middleware via a plugin/framework (either inline or via NPM). Additional information can be found in [plugins].

The plugin must provide an express/connect middleware function (details about this can be found in [the Express docs](http://expressjs.com/guide/using-middleware.html). An example of custom inline middleware is shown below.

**Example:**
```javascript
Expand All @@ -307,7 +309,6 @@ plugins: [
]
```


## plugins
**Type:** Array

Expand Down

0 comments on commit 8984164

Please sign in to comment.