Skip to content

Commit

Permalink
Switching on cloudfront caching for autocomplete queries.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalczyk committed Jan 17, 2014
1 parent d20e1b3 commit ddf6ee4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/js/mol.map.search.js
Expand Up @@ -116,7 +116,7 @@ mol.modules.map.search = function(mol) {
minLength: 3,
source: function(request, response) {
$.getJSON(
'http://mol.cartodb.com/api/v1/sql?q={0}'.format(
mol.services.cartodb.sqlApi.jsonp_url.format(
self.ac_sql.format(
$.trim(request.term)
.replace(/ /g, ' ')
Expand Down
2 changes: 1 addition & 1 deletion app/static/js/mol.js
Expand Up @@ -3443,7 +3443,7 @@ mol.modules.map.search = function(mol) {
minLength: 3,
source: function(request, response) {
$.getJSON(
'http://mol.cartodb.com/api/v1/sql?q={0}'.format(
mol.services.cartodb.sqlApi.jsonp_url.format(
self.ac_sql.format(
$.trim(request.term)
.replace(/ /g, ' ')
Expand Down

0 comments on commit ddf6ee4

Please sign in to comment.