Skip to content

Commit

Permalink
Improve example
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalWilinski committed Sep 18, 2018
1 parent 81e2361 commit 6699925
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/index.js
Expand Up @@ -21,6 +21,22 @@ app.use(
// Pass socket.io instance port down to config.
// Use only if you're passing your own instance.
// port: socketIoPort,
healthChecks: [
{
protocol: 'http',
host: 'localhost',
port: 3000,
path: '/admin/health/ex1',
headers: {},
},
{
protocol: 'http',
host: 'localhost',
port: 3000,
path: '/return-status/200',
headers: {},
},
],
}),
);
app.use(require('express-favicon-short-circuit'));
Expand Down

0 comments on commit 6699925

Please sign in to comment.