--- lib/PXElator/httpd.pm 2009/09/13 16:07:33 430 +++ lib/PXElator/httpd.pm 2009/09/14 13:44:42 431 @@ -36,20 +36,6 @@ }} -sub menu { -qq{ -
-home -server -brctl -ip -nmap -client -couchdb -
- -}} - our $port = 7777; use server; @@ -79,6 +65,24 @@ use CouchDB; + +sub menu { + my $couch_url = $url; + $couch_url =~ s{:\d+.+}{:5984/_utils/}; +qq{ +
+home +server +brctl +ip +nmap +client +couchdb +
+ +}} + + sub static { my ($client,$path) = @_;