diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:13:46 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:13:49 -0400 |
commit | f31e286f4a73c5c0f355512b0cb45c6c82088516 (patch) | |
tree | fdf22b179aef9937e7f6a3e71fc6c1e7f0ff9119 /lib/sisu/v5/webrick.rb | |
parent | vim, ftplugin sisu.vim, c-\ hard wrap lines to line width (moved from c-j) (diff) |
v5: general code cleaningsisu_4.1.5
* propagate back to v4 after testing
Diffstat (limited to 'lib/sisu/v5/webrick.rb')
-rw-r--r-- | lib/sisu/v5/webrick.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v5/webrick.rb b/lib/sisu/v5/webrick.rb index 67c44d50..021a03a4 100644 --- a/lib/sisu/v5/webrick.rb +++ b/lib/sisu/v5/webrick.rb @@ -74,7 +74,6 @@ module SiSU_Webserv @env=SiSU_Env::InfoEnv.new port=SiSU_Env::InfoPort.new @host=@env.url.webrick - host='localhost' @port=port.webrick @serve=[] Dir.foreach(@env.path.webserv) do |x| @@ -124,7 +123,7 @@ module SiSU_Webserv page.p {page.b{"Webrick Served Directories: "}} + WOK #% wb_s2 (mounts) - @mount.each do |x,y| wb_s2 <<<<WOK + @mount.each do |x,y| wb_s2 << <<WOK page.p {page.b{'<a href="#{@host}:#{@port}#{x}/">#{x}</a> '} + '<a href="#{@host}:#{@port}#{x}/">#{@host}:#{@port}#{x}</a> (mounts: #{y}/) <a href="#{@host}:#{@port}#{x}/wb.cgi">info (wb.cgi)</a>'} + WOK end |