Skip to content
Merged
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
6 changes: 3 additions & 3 deletions cli/src/ipc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ export async function receive(msg: IPCMessage): Promise<void> {
// This request is only made if telemetry is on.
const req = request(
{
hostname: 'api.ionicjs.com',
hostname: 'metrics-capacitor.outsystems.com',
port: 443,
path: '/events/metrics',
path: '/metrics',
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand All @@ -60,7 +60,7 @@ export async function receive(msg: IPCMessage): Promise<void> {
(response) => {
debug('Sent %O metric to events service (status: %O)', data.name, response.statusCode);

if (response.statusCode !== 204) {
if (response.statusCode !== 202) {
response.on('data', (chunk) => {
debug('Bad response from events service. Request body: %O', chunk.toString());
});
Expand Down
Loading