From c0ebafcb7929da9c24d3c6a341eed7057e8eb981 Mon Sep 17 00:00:00 2001 From: Quasar-Kim Date: Sun, 16 May 2021 21:34:33 +0900 Subject: [PATCH] README: change getHandler to getRoute --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 45b8e14e..6befe8e5 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ myHandlers.newPost = { } }; -router.getHandler = function(name) { +router.getRoute = function(name) { return myHandlers[name]; }; ```