X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/f788ced94fa628a3b48bee2f65f1d172ec13ba2b210d4ca87ce85ac00e6c05b1..c9996d4b02eb94decb55521f05da1ee48011a3a8ad5b467917314545b38c083c:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 71068dd..c2b70fa 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -78,7 +78,7 @@ our $strict_export = "++GITWEB_STRICT_EXPORT++"; # list of git base URLs used for URL to where fetch project from, # i.e. full URL is "$git_base_url/$project" -our @git_base_url_list = ("++GITWEB_BASE_URL++"); +our @git_base_url_list = grep { $_ ne '' } ("++GITWEB_BASE_URL++"); # default blob_plain mimetype and default charset for text/plain blob our $default_blob_plain_mimetype = 'text/plain';