From 5620117e6c0aaa4da46e06e1940c9891502f1e85 Mon Sep 17 00:00:00 2001 From: Camel Aissani Date: Sun, 15 Jan 2017 14:33:30 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 723bbd1..437055c 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,12 @@ import frontexpress from 'frontexpress'; // Front-end application const app = frontexpress(); -// navigation on path /page1 +// front-end logic on navigation path "/page1" app.get('/page1', (req, res) => { document.querySelector('.content').innerHTML = `

Page 1 content

`; }); -// navigation on path /page2 +// front-end logic on navigation path "/page2" app.get('/page2', (req, res) => { document.querySelector('.content').innerHTML = `

Page 2 content

`; });