Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading