From 194a47cc0dfcc9a0f0b2bebb672ff082ea18b33e Mon Sep 17 00:00:00 2001 From: xianyu Date: Mon, 13 Feb 2017 23:07:46 +0800 Subject: [PATCH] docs: fix jsonp config in controller.md (#372) --- docs/source/zh-cn/basics/controller.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/zh-cn/basics/controller.md b/docs/source/zh-cn/basics/controller.md index d7447fc269..2bb34b8877 100644 --- a/docs/source/zh-cn/basics/controller.md +++ b/docs/source/zh-cn/basics/controller.md @@ -780,7 +780,7 @@ exports.show = function* (ctx) { ```js // config/config.default.js -module.exports = { +exports.jsonp = { callback: 'callback', // 识别 query 中的 `callback` 参数 limit: 100, // 函数名最长为 100 个字符 }