Skip to content

Commit

Permalink
hehe
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterlang committed Apr 21, 2012
1 parent b353e54 commit 335600f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DDG/Spice/Xkcd.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ triggers startend => "xkcd";
sub nginx_conf { sub nginx_conf {
$nginx_conf = <<"__END_OF_CONF__"; $nginx_conf = <<"__END_OF_CONF__";
location ^~ /js/spice/xkcd/ { location ^~ /js/spice/xkcd/ {
echo_before_body 'ddg_spice_xkcd(' echo_before_body 'ddg_spice_xkcd(';
rewrite ^/js/spice/xkcd/(.*) /api-0/jsonp/comic/$1 break; rewrite ^/js/spice/xkcd/(.*) /api-0/jsonp/comic/$1 break;
proxy_pass http://dynamic.xkcd.com/; proxy_pass http://dynamic.xkcd.com/;
echo_after_body ');'; echo_after_body ');';
Expand Down

0 comments on commit 335600f

Please sign in to comment.