Skip to content

Commit

Permalink
Bug fix add web to announcement when only asset is provided in service.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm committed Jan 14, 2016
1 parent 4f618c8 commit 2fd11d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ exports.generateAnnouncement = function(serviceInfo, assetInfo, routes, uses, mi
ann.timeout = serviceInfo.timeout || ann.timeout
}

if (uses || routes || middlewares) {
if (uses || routes || middlewares || assetInfo) {
ann.web = {
use: uses,
port: httpPort,
Expand Down

0 comments on commit 2fd11d8

Please sign in to comment.