We avoid registering the amount of ads printed by the moment.

This commit is contained in:
Sergiotarxz 2023-08-25 17:40:48 +02:00
parent 18bb4c83ff
commit 6724dc9257
1 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,8 @@ sub register_request {
my $self = shift;
my $c = shift;
my $path = $c->req->url->path;
# Avoiding overloading the /stats endpoint.
return if $path =~ /\.json$/;
my $dbh = BurguillosInfo::DB->connect($app);
$self->_add_path($path);
$self->_update_null_last_seen_paths_if_any();