From 99a44ea563c2cea119eb896663b8fec3627e0277 Mon Sep 17 00:00:00 2001 From: Per Guth Date: Fri, 13 Oct 2017 04:05:19 +0200 Subject: [PATCH] Update README.md `'*'` works in more cases than `'/'` (eg. GithubPages). Prevent errors for beginners. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa84781a..675c4f1e 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ var choo = require('choo') var app = choo() app.use(log()) app.use(countStore) -app.route('/', mainView) +app.route('*', mainView) app.mount('body') function mainView (state, emit) {