Update README.md

This commit is contained in:
Camel Aissani 2016-07-26 21:16:34 +02:00 committed by GitHub
parent 893d39e765
commit 27da6f94bf

View File

@ -30,7 +30,6 @@ import frontexpress from 'frontexpress';
const app = frontexpress();
// navigation raising an HTTP 401
// display an alert
app.use((req, res, next) => {
if (res.status === 401) {
@ -68,7 +67,6 @@ app.listen(() => {
// make an ajax request to get restricted page content from backend
app.httpGet('/pages/restricted');
});
});
```