From 685071fea922018d7059e3c43cd77236bacedda7 Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Sat, 20 Jun 2020 09:14:20 +0900 Subject: [PATCH] Fix a wrong code in custom HTTP route document --- docs/_advanced/custom_routes.md | 2 +- docs/_advanced/ja_custom_routes.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_advanced/custom_routes.md b/docs/_advanced/custom_routes.md index d7fe74cd4..48017f05f 100644 --- a/docs/_advanced/custom_routes.md +++ b/docs/_advanced/custom_routes.md @@ -38,5 +38,5 @@ receiver.router.post('/secret-page', (req, res) => { (async () => { await app.start(8080); console.log('app is running'); -}()); +})(); ``` diff --git a/docs/_advanced/ja_custom_routes.md b/docs/_advanced/ja_custom_routes.md index 785b07012..7d2fd0a92 100644 --- a/docs/_advanced/ja_custom_routes.md +++ b/docs/_advanced/ja_custom_routes.md @@ -38,5 +38,5 @@ receiver.router.post('/secret-page', (req, res) => { (async () => { await app.start(8080); console.log('app is running'); -}()); +})(); ```