Skip to content

Commit

Permalink
Fixes #153.
Browse files Browse the repository at this point in the history
  • Loading branch information
dom96 committed Aug 24, 2018
1 parent 612e76d commit e3cd4a2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions jester.nim
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,12 @@ proc serve*(
]
)
else:
logging.info("Jester is making jokes at http://0.0.0.0:$1$2" %
[$self.settings.port, self.settings.appName])
when defined(windows):
logging.info("Jester is making jokes at http://127.0.0.1:$1$2 (all interfaces)" %
[$self.settings.port, self.settings.appName])
else:
logging.info("Jester is making jokes at http://0.0.0.0:$1$2" %
[$self.settings.port, self.settings.appName])

var jes = self
when useHttpBeast:
Expand Down

0 comments on commit e3cd4a2

Please sign in to comment.