Skip to content

Instantly share code, notes, and snippets.

@patrickng

patrickng/jsonp.txt

Forked from hannseman/jsonp.txt
Created Jun 2, 2014
Embed
What would you like to do?
location / {
# JSONP-support
if ( $arg_callback ) {
echo_before_body '$arg_callback(';
echo_after_body ');';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.