Skip to content

Commit

Permalink
Actually USE the token in _config.yml. The token that was in search.h…
Browse files Browse the repository at this point in the history
…tml wasn't even dealloc's.
  • Loading branch information
belkadan committed Mar 24, 2012
1 parent bc6ff5e commit c63f387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h2>Posts <span id="result_count"></span></h2>
<script type="text/javascript">
window.addEventListener("load", function() {
var tapir = function(query, callback) {
var url = 'http://tapirgo.com/api/1/search.json?token=4f6c19583f61b02e9500000c&query=' + encodeURIComponent(query);
var url = 'http://tapirgo.com/api/1/search.json?token={{ site.tapir_token }}&query=' + encodeURIComponent(query);
var req;

{% comment %}
Expand Down

0 comments on commit c63f387

Please sign in to comment.