From be5d9362c2472e5f58da108579393a4b2a789733 Mon Sep 17 00:00:00 2001 From: Gilles Darold Date: Tue, 11 Sep 2018 20:46:26 +0200 Subject: [PATCH] Fix URI for CSS in incremental mode. Thanks to Floris van Nee for the report. --- pgbadger | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pgbadger b/pgbadger index ee8515d..854249a 100755 --- a/pgbadger +++ b/pgbadger @@ -2323,7 +2323,6 @@ sub write_resources } return @contents; - } sub sort_by_week @@ -4839,7 +4838,7 @@ sub html_header my @tmpjscode = @jscode; for (my $i = 0; $i <= $#tmpjscode; $i++) { - $tmpjscode[$i] =~ s/EDIT_URI/\./; + $tmpjscode[$i] =~ s/EDIT_URI/$uri/; } my $local_title = 'PostgreSQL Log Analyzer'; -- 2.40.0