Skip to content
This repository was archived by the owner on Oct 15, 2022. It is now read-only.

Commit 25ccfd5

Browse files
authored
wrap wordnik API calls with callback (#3594)
1 parent c720718 commit 25ccfd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/DDG/Spice/Dictionary/Definition.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use DDG::Spice;
66

77
spice to => 'http://api.wordnik.com/v4/word.json/$1/definitions?includeRelated=true&includeTags=true&limit=3&api_key={{ENV{DDG_SPICE_WORDNIK_APIKEY}}}&callback={{callback}}&useCanonical=true';
88
spice proxy_cache_valid => '200 30d';
9-
spice content_type_javascript => 1;
9+
spice wrap_jsonp_callback => 1;
1010

1111
spice alt_to => {
1212
audio => {

0 commit comments

Comments
 (0)