From 375347e7875701d0302bdeabc546ec7bc5427116 Mon Sep 17 00:00:00 2001 From: Mali Akmanalp Date: Tue, 17 Jun 2014 10:17:21 -0400 Subject: [PATCH] Make search api url relative to support beta? --- media/js/searchresults.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/js/searchresults.js b/media/js/searchresults.js index 4db28ce7..511a0b6b 100644 --- a/media/js/searchresults.js +++ b/media/js/searchresults.js @@ -27,7 +27,7 @@ source: function(request, response) { response(cache[term]); return; } - $.getJSON( "/api/search/", + $.getJSON( "../api/search/", request, function(data, status, xhr) { var reshaped_data = [];