Skip to content

Commit e24be20

Browse files
author
sebastian
committed
feat(pact-server): Allow to run pact mock server on a host other than localhost/127.0.0.1
1 parent f5387a0 commit e24be20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pact.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ module.exports = (opts) => {
5858
const pactfileWriteMode = opts.pactfileWriteMode || 'overwrite'
5959

6060
const server = serviceFactory.createServer({
61+
host: host,
6162
port: port,
6263
log: log,
6364
dir: dir,

0 commit comments

Comments
 (0)