Skip to content

Commit

Permalink
docs: fix jsonp config in controller.md (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
moldauder authored and dead-horse committed Feb 13, 2017
1 parent 1d93002 commit 194a47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/zh-cn/basics/controller.md
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ exports.show = function* (ctx) {

```js
// config/config.default.js
module.exports = {
exports.jsonp = {
callback: 'callback', // 识别 query 中的 `callback` 参数
limit: 100, // 函数名最长为 100 个字符
}
Expand Down

0 comments on commit 194a47c

Please sign in to comment.