mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
feat: update user agent name to Appwrite CLI
This commit is contained in:
@@ -47,7 +47,7 @@ class Detector
|
||||
*/
|
||||
public function getClient(): array
|
||||
{
|
||||
if (strpos($this->userAgent, 'Terminal') !== false) {
|
||||
if (strpos($this->userAgent, 'Appwrite CLI') !== false) {
|
||||
$version = explode(' ', $this->userAgent)[0];
|
||||
$version = explode('/', $version)[1];
|
||||
$client = [
|
||||
|
||||
Reference in New Issue
Block a user