Skip to content

Commit

Permalink
add hosts opt
Browse files Browse the repository at this point in the history
document new host opt
  • Loading branch information
dotob authored Jul 26, 2018
1 parent f302bf1 commit 5d1a646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ router.use('/', arena);
`Arena` takes two arguments. The first, `config`, is a plain object containing the [queue configuration](#prerequisites). The second, `listenOpts`, is an object that can contain the following optional parameters:

* `port` - specify custom port to listen on (default: 4567)
* `host` - specify custom ip to listen on (default: '0.0.0.0')
* `basePath` - specify custom path to mount server on (default: '/')
* `disableListen` - don't let the server listen (useful when mounting Arena as a sub-app of another Express app) (default: false)
* `useCdn` - set false to use the bundled js and css files (default: true)
Expand Down

0 comments on commit 5d1a646

Please sign in to comment.