lib/origen/commands/web.rb in origen-0.31.0 vs lib/origen/commands/web.rb in origen-0.32.0

- old
+ new

@@ -90,10 +90,14 @@ retry end server.close # Start the server puts '' - puts "Point your browser to this address: http://#{host}#{domain.empty? ? '' : '.' + domain}:#{port}" + if host.include? domain + puts "Point your browser to this address: http://#{host}:#{port}" + else + puts "Point your browser to this address: http://#{host}#{domain.empty? ? '' : '.' + domain}:#{port}" + end puts '' puts 'To shut down the server use CTRL-C' puts '' system "ruby -run -e httpd . -p #{port}" end