Skip to content

Commit

Permalink
Replace URL from diffy.website to app.diffy.website.
Browse files Browse the repository at this point in the history
  • Loading branch information
ygerasimov authored Jul 29, 2019
1 parent 172c6cf commit 9cd19fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hooks/diffy/diffy_trigger_compare_job.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
print "Getting access token from the key." . PHP_EOL;
$ch = curl_init();
$curl_opts = [
CURLOPT_URL => 'https://diffy.website/api/auth/key',
CURLOPT_URL => 'https://app.diffy.website/api/auth/key',
CURLOPT_HTTPHEADER => [
'Accept: application/json',
'Content-Type: application/json',
Expand Down Expand Up @@ -83,7 +83,7 @@
print 'Starting compare job.';
$ch = curl_init();
$curl_opts = [
CURLOPT_URL => 'https://diffy.website/api/projects/' . DIFFY_PROJECT_ID . '/compare',
CURLOPT_URL => 'https://app.diffy.website/api/projects/' . DIFFY_PROJECT_ID . '/compare',
CURLOPT_HTTPHEADER => [
'Accept: application/json',
'Content-Type: application/json',
Expand Down Expand Up @@ -112,4 +112,4 @@
curl_close($ch);

print 'Compare job has started.' . PHP_EOL;
print 'Check out the result here: https://diffy.website/ui#/diffs/' . str_replace('diff: ', '', $curl_response) . PHP_EOL;
print 'Check out the result here: https://app.diffy.website/ui#/diffs/' . str_replace('diff: ', '', $curl_response) . PHP_EOL;

0 comments on commit 9cd19fc

Please sign in to comment.