Update URI check to include CLI request detection.
The code now checks if the request URI is '/metrics' or if the PHP script is running from the command line interface (CLI). This change allows for proper handling of CLI requests in addition to web requests.
This commit is contained in:
parent
7c61ead8ac
commit
66933d7d19
Loading…
Reference in New Issue
Block a user