From c6f86bc804f52cc30eeed1418a361b743bb989b7 Mon Sep 17 00:00:00 2001 From: Ben Poulson Date: Wed, 8 Apr 2026 15:21:57 +0700 Subject: [PATCH] Ingress domain change --- README.md | 2 +- src/Config.php | 2 +- tests/ConfigTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8963d58..34e3b81 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ use Perfbase\SDK\Config; // Create configuration $config = Config::fromArray([ 'api_key' => 'your_api_key_here', - 'api_url' => 'https://receiver.perfbase.com', // Optional: defaults to this URL + 'api_url' => 'https://ingress.perfbase.cloud', // Optional: defaults to this URL ]); // Initialize Perfbase diff --git a/src/Config.php b/src/Config.php index db84332..c2f0fd2 100644 --- a/src/Config.php +++ b/src/Config.php @@ -24,7 +24,7 @@ class Config * Base URL for the Perfbase API * @var string */ - public string $api_url = 'https://receiver.perfbase.com'; + public string $api_url = 'https://ingress.perfbase.cloud'; /** * Proxy server to use for connecting to the Perfbase API diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index 8f8bad4..8ec0931 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -166,7 +166,7 @@ public function testNewWithDefaultValues(): void $config = Config::new('my-key'); $this->assertSame('my-key', $config->api_key); - $this->assertSame('https://receiver.perfbase.com', $config->api_url); + $this->assertSame('https://ingress.perfbase.cloud', $config->api_url); $this->assertNull($config->proxy); $this->assertSame(10, $config->timeout); $this->assertSame(FeatureFlags::DefaultFlags, $config->flags);