Fix typos

This commit is contained in:
Sahat Yalkabov
2014-01-30 09:09:05 -05:00
parent f796f5926c
commit b93347e9d2

View File

@ -309,7 +309,7 @@ page and come back to the login page, that error message will be gone. It is onl
This project uses *express-flash* module for flash messages. And that This project uses *express-flash* module for flash messages. And that
module is built on top of *connect-flash*, which is what I used in module is built on top of *connect-flash*, which is what I used in
this project initially. With *express-flash* you don't have to this project initially. With *express-flash* you don't have to
explicity send a flash message to every view inside `res.render`. explicity send a flash message to every view inside `res.render()`.
All flash messages are available in your views via `messages` object by default, All flash messages are available in your views via `messages` object by default,
thanks to *express-flash*. thanks to *express-flash*.
@ -504,12 +504,12 @@ I wouldn't even know I had to use port 8000.
I am really glad that Heroku and OpenShift at least I am really glad that Heroku and OpenShift at least
have a websockets support, because many other PaaS providers still do not support it. have a websockets support, because many other PaaS providers still do not support it.
Due to the aforementioned issues with websockets, I cannot include socket.io as part of the Hackathon Starter. *For now*. Due to the aforementioned issues with websockets, I cannot include socket.io as part of the Hackathon Starter. *For now...*
If you need to use socket.io in your app, then continue reading. If you need to use socket.io in your app, please continue reading.
First you need to install socket.io: First you need to install socket.io:
```js ```js
npm install socket.io --save` npm install socket.io --save
``` ```
Replace `var app = express();` with the following code: Replace `var app = express();` with the following code: