]> granicus.if.org Git - pgbadger/commitdiff
Fix URI for CSS in incremental mode. Thanks to Floris van Nee for the report.
authorGilles Darold <gilles@darold.net>
Tue, 11 Sep 2018 18:46:26 +0000 (20:46 +0200)
committerGilles Darold <gilles@darold.net>
Tue, 11 Sep 2018 18:46:26 +0000 (20:46 +0200)
pgbadger

index ee8515d708360b4d7ca5638782f3e2927a047872..854249a54adf2440955052f4988899bd2702e8b8 100755 (executable)
--- 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';