anchor the URL for checking whether or not to generate a sitemap
This commit is contained in:
parent
d1c3dc46f5
commit
84a6f71c9b
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ sub handler {
|
|||
my $session = shift;
|
||||
|
||||
my $p = $session->url->page();
|
||||
unless ($p =~ m/siteindex\.xml/i) {
|
||||
unless ($p =~ m/siteindex\.xml$/i) {
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue