Skip to content

Commit e14c0d2

Browse files
committed
Indicate the limitations of sharing URL in startup message
Changed last line to be consistent Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
1 parent 0d09d1b commit e14c0d2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

lib/sequenceserver.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,16 @@ def on_start
136136
puts '** SequenceServer is ready.'
137137
puts " Go to #{server_url} in your browser and start BLASTing!"
138138
if ip_address
139-
puts ' To share your setup, please try one of the following: '
139+
puts ' To share your setup, try one of the following addresses. These'
140+
puts ' may only work within your home, office, or university network.'
140141
puts " - http://#{ip_address}:#{config[:port]}"
141142
puts " - http://#{hostname}:#{config[:port]}" if hostname
143+
puts ' To share your setup with anyone in the world, ask your IT team'
144+
puts ' for a public IP address.'
142145
puts ' To disable sharing, set :host: key in config file to 127.0.0.1'
146+
puts ' and restart server.'
143147
end
144-
puts ' Press CTRL+C to quit.'
148+
puts ' To terminate server, press CTRL+C'
145149
open_in_browser(server_url)
146150
end
147151

0 commit comments

Comments
 (0)