Skip to content

Commit

Permalink
Merge faad984 into 2edaebb
Browse files Browse the repository at this point in the history
  • Loading branch information
maikelvdh committed May 31, 2018
2 parents 2edaebb + faad984 commit 2dcc698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builder.js
Expand Up @@ -147,7 +147,7 @@ builder.dereference = async (schema) => {
* @return {String}
*/
internals.getHost = function(request) {
let host = request.server.info.host;
let host = request.info.hostname;
const port = request.server.info.port;
const protocol = request.server.info.protocol;

Expand Down

0 comments on commit 2dcc698

Please sign in to comment.