Skip to content

Commit

Permalink
Merge pull request #23 from kissmetrics/nw/new-subdomain-for-php-trac…
Browse files Browse the repository at this point in the history
…king

New subdomain for php tracking
  • Loading branch information
NathanielWroblewski committed Mar 12, 2021
2 parents 15129b8 + 3f15e3e commit 7b5cfa2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ it's helpful when you want to make sure everything is setup correctly!
```json
{
"require": {
"kissmetrics/kissmetrics-php": "~0.3.0"
"kissmetrics/kissmetrics-php": "~0.4.0"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/KISSmetrics/Transport/Delayed.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function __construct($log_dir, $host, $port, $timeout = 30) {
* @return \KISSmetrics\Transport\Delayed
*/
public static function initDefault($log_dir) {
return new static($log_dir, 'trk.kissmetrics.io', 80);
return new static($log_dir, 'php.kissmetrics.io', 80);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/KISSmetrics/Transport/Sockets.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function __construct($host, $port, $timeout = 30) {
* @return Sockets
*/
public static function initDefault() {
return new static('trk.kissmetrics.io', 80);
return new static('php.kissmetrics.io', 80);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/KISSmetrics/Transport/SocketsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class SocketsTest extends \PHPUnit_Framework_TestCase {
public function testDefaults() {
$km_api = Sockets::initDefault();
$this->assertEquals('trk.kissmetrics.io', $km_api->getHost());
$this->assertEquals('php.kissmetrics.io', $km_api->getHost());
$this->assertEquals(80, $km_api->getPort());
}
}

0 comments on commit 7b5cfa2

Please sign in to comment.