mirror of
https://github.com/Redume/Kekkai.git
synced 2025-03-13 12:04:38 +03:00
chore(chart): change to new key config
This commit is contained in:
parent
f307644a8c
commit
64185e7565
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ class PlausibleAnalytics:
|
|||
async def __call__(self, request, call_next):
|
||||
response = await call_next(request)
|
||||
|
||||
if HTTPStatus(response.status_code).is_client_error or not config['analytics']['work']:
|
||||
if HTTPStatus(response.status_code).is_client_error or not config['analytics']['enabled']:
|
||||
return response
|
||||
|
||||
user_agent = request.headers.get('user-agent', 'unknown')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue