Permalink
Browse files

fix domain for api

  • Loading branch information...
1 parent 1563696 commit bf2c67ca8a79dd844778a2623b4680068330863d @benmathes committed Apr 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 search.php
View
@@ -3,7 +3,7 @@
$results = array();
if (!empty($_GET['query'])) {
- $angellist_api_search = "http://angel.co/1/search?type=User,Startup&query=" . urlencode($_GET['query']);
+ $angellist_api_search = "http://api.angel.co/1/search?type=User,Startup&query=" . urlencode($_GET['query']);
$ch = curl_init($angellist_api_search);
curl_exec($ch);
$results = ob_get_contents();
@@ -17,4 +17,4 @@
}
ob_end_clean();
-echo ($results);
+echo($results);

0 comments on commit bf2c67c

Please sign in to comment.