From 5d1a64651378b0ab1308ef1ae27fd25018b941e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?sebastian=20kr=C3=A4mer?= Date: Thu, 26 Jul 2018 15:25:35 +0200 Subject: [PATCH] add hosts opt document new host opt --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2266092c..f1b64d67 100644 --- a/README.md +++ b/README.md @@ -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)