Skip to content

Commit

Permalink
Update index.mdx
Browse files Browse the repository at this point in the history
Bold statement regarding `ORIGIN` env var.
  • Loading branch information
ptz0n authored Nov 9, 2023
1 parent fe0089d commit cc5416c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/routes/docs/deployments/node/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Since you are choosing Node, here you are in your own, after running `npm run bu

In order to deploy the server, you need to run the `server/entry.[server].js` file in the server of your choice, where `[server]` can be [express](https://expressjs.com/) or [fastify](https://fastify.dev/).

It's *very important to correctly configure the `ORIGIN` env variable*, which is used to check against [CSRF attacks](https://owasp.org/www-community/attacks/csrf). The origin must match the origin of the client application.
It's **very important to correctly configure the `ORIGIN` env variable**, which is used to check against [CSRF attacks](https://owasp.org/www-community/attacks/csrf). The origin must match the origin of the client application.

> For example, if you plan to deploy your application to `https://example.com/app`, then you need to set the `ORIGIN` environment variable to `https://example.com`.
>
Expand Down

0 comments on commit cc5416c

Please sign in to comment.