about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-12-15 20:52:46 +0000
committerEric Wong <mwrap-perl@80x24.org>2022-12-16 09:27:43 +0000
commit3bc41454474a3c414888d751464f7bffd18fd9aa (patch)
treeb8cf666ec35c98f2e315a66fca82d7180b7f0be7
parent87e065ede2bae2d72dc1c39e15d8f7a391d6dda3 (diff)
downloadmwrap-3bc41454474a3c414888d751464f7bffd18fd9aa.tar.gz
We'll keep each/2000 linked, but the /$PID/ root may provide a
better jumping point.
-rw-r--r--lib/Devel/Mwrap/Rproxy.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Devel/Mwrap/Rproxy.pm b/lib/Devel/Mwrap/Rproxy.pm
index 811b503..f7f8a82 100644
--- a/lib/Devel/Mwrap/Rproxy.pm
+++ b/lib/Devel/Mwrap/Rproxy.pm
@@ -46,8 +46,9 @@ sub list {
         for (@pids) {
                 substr($_, -5, 5, ''); # chop off .sock
                 my $cmd = $valid_pid->($_) // next;
+                print $fh qq(<a\nhref="./$_/">$_</a>/);
                 $_ .= '/each/2000';
-                say $fh qq(<a\nhref="./), $_, '">', $_, "</a>\t", $cmd;
+                say $fh qq(<a\nhref="./), $_, qq(">each/2000</a>\t), $cmd;
         }
         print $fh '</pre></body></html>';
         r(200, $str);