From f81c164a6b907030a78a25a2ad9f061053cd0d9f Mon Sep 17 00:00:00 2001 From: Rick Haffey Date: Sat, 9 Jan 2016 15:09:33 -0600 Subject: [PATCH] fix reference to app.setHost --- app/templates/server_express.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/server_express.js b/app/templates/server_express.js index 4978d36..3762ad4 100644 --- a/app/templates/server_express.js +++ b/app/templates/server_express.js @@ -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; });