Skip to content

Commit 457bb05

Browse files
authored
Merge pull request #11 from ehtesham1996/feature/configurable-host
Feature: Configurable Host Setting
2 parents c2ca996 + 0c7fdce commit 457bb05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ class HttpdFacility extends Base {
140140
}
141141

142142
return await this.server.listen({
143-
port: this.opts.port || this.conf.port
143+
port: this.opts.port || this.conf.port,
144+
host: this.opts.host || this.conf.host
144145
})
145146
}
146147

0 commit comments

Comments
 (0)