Skip to content
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.

Commit

Permalink
Merge pull request #55 from Fanatics/fix-sethost-reference
Browse files Browse the repository at this point in the history
fix reference to app.setHost
  • Loading branch information
tlivings committed Jan 11, 2016
2 parents 6e06306 + f81c164 commit 3b96665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/server_express.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ app.use(swaggerize({
}));

server.listen(8000, function () {
app.setHost(server.address().address + ':' + server.address().port);
app.swagger.api.host = server.address().address + ':' + server.address().port;
});

0 comments on commit 3b96665

Please sign in to comment.