From f31e286f4a73c5c0f355512b0cb45c6c82088516 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 22 Jun 2013 01:13:46 -0400 Subject: v5: general code cleaning * propagate back to v4 after testing --- lib/sisu/v5/webrick.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/sisu/v5/webrick.rb') 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 <<<#{x} '} + '#{@host}:#{@port}#{x} (mounts: #{y}/) info (wb.cgi)'} + WOK end -- cgit v1.2.3