fix: исправил 5хх ошибку при 404 ошибке
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled

This commit is contained in:
Данил 2024-10-29 19:07:03 +03:00
parent a08f848d56
commit 1c82ca9bb4

View file

@ -14,7 +14,7 @@ class PlausibleAnalytics:
user_agent_parsed = ua_parse(user_agent) user_agent_parsed = ua_parse(user_agent)
if HTTPStatus(response.status_code).is_client_error: if HTTPStatus(response.status_code).is_client_error:
return return response
event = { event = {
"domain": config['analytics']['domain'], "domain": config['analytics']['domain'],