mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
[REF] monitoring_prometheus: server_environment should not be a required dependency
This commit is contained in:
committed by
Iván Todorovich
co-authored by
Iván Todorovich
parent
08ef2f8025
commit
2df49eeba0
@@ -17,6 +17,8 @@ class IrHttp(models.AbstractModel):
|
||||
|
||||
@classmethod
|
||||
def _dispatch(cls, endpoint):
|
||||
# httprequest environment is updated with WSGI environment variables in core
|
||||
# REF: https://github.com/odoo/odoo/blob/19.0/odoo/http.py#L2120
|
||||
path_info = request.httprequest.environ.get("PATH_INFO")
|
||||
|
||||
if path_info.startswith("/longpolling/"):
|
||||
|
||||
Reference in New Issue
Block a user