From d740d9b2b1a5104e95f203e5ca09819979bc7f4a Mon Sep 17 00:00:00 2001 From: Ilkka Oksanen Date: Sun, 26 Feb 2017 14:41:14 +0100 Subject: [PATCH] Update the link to migration instructions (#916) --- lib/application.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/application.js b/lib/application.js index 2d9b561..ec30cdc 100644 --- a/lib/application.js +++ b/lib/application.js @@ -107,7 +107,8 @@ module.exports = class Application extends Emitter { if (isGeneratorFunction(fn)) { deprecate('Support for generators will be removed in v3. ' + 'See the documentation for examples of how to convert old middleware ' + - 'https://github.com/koajs/koa/tree/v2.x#old-signature-middleware-v1x---deprecated'); + 'https://github.com/koajs/koa/blob/master/Readme.md' + + '#old-signature-middleware-v1x---deprecated'); fn = convert(fn); } debug('use %s', fn._name || fn.name || '-');