Update FAQ

This commit is contained in:
Sahat Yalkabov
2014-02-17 19:26:43 -05:00
parent 64598cf20a
commit 40fe314336

View File

@ -360,9 +360,12 @@ FAQ
### Why do I get `403 Error: Forbidden` when submitting a POST form? ### Why do I get `403 Error: Forbidden` when submitting a POST form?
You need to add this hidden input element to your form. This has been added in the You need to add this hidden input element to your form. This has been added in the
pull request [#40](https://github.com/sahat/hackathon-starter/pull/40). pull request [#40](https://github.com/sahat/hackathon-starter/pull/40).
``` ```
input(type='hidden', name='_csrf', value=token) input(type='hidden', name='_csrf', value=token)
``` ```
You can read more about [CSRF protection middleware](http://expressjs.com/api.html#csrf) at the Express API Reference.
### What is `cluster_app.js`? ### What is `cluster_app.js`?
From the [Node.js Documentation](http://nodejs.org/api/cluster.html#cluster_how_it_works): From the [Node.js Documentation](http://nodejs.org/api/cluster.html#cluster_how_it_works):