Skip to content

Commit 7acc2d6

Browse files
committed
updated docs/backend_cors_origins language
1 parent 5eb3749 commit 7acc2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/development-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The input variables, with their default values (some auto generated) are:
5353
- `secret_key`: Backend server secret key. Use the method above to generate it.
5454
- `first_superuser`: The first superuser generated, with it you will be able to create more users, etc. By default, based on the domain.
5555
- `first_superuser_password`: First superuser password. Use the method above to generate it.
56-
- `backend_cors_origins`: Origins (domains, more or less) that are enabled for CORS (Cross Origin Resource Sharing). This allows a frontend in one domain (e.g. `https://dashboard.example.com`) to communicate with this backend, that could be living in another domain (e.g. `https://api.example.com`). It can also be used to allow your local frontend (with a custom `hosts` domain mapping, as described in the project's `README.md`) that could be living in `http://dev.example.com:8080` to communicate with the backend at `https://stag.example.com`. Notice the `http` vs `https` and the `dev.` prefix for local development vs the "staging" `stag.` prefix. By default, it includes origins for production, staging and development, with ports commonly used during local development by several popular frontend frameworks (Vue with `:8080`, React, Angular).
56+
- `backend_cors_origins`: Origins (domains, more or less) that are enabled for CORS ([Cross Origin Resource Sharing](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)). This informs a frontend browser in one domain (e.g. `https://dashboard.example.com`) it can trust this backend, that could be living in another domain (e.g. `https://api.example.com`). It can also be used to allow your local frontend (with a custom `hosts` domain mapping, as described in the project's `README.md`) that could be living in `http://dev.example.com:8080` to communicate with the backend at `https://stag.example.com`. Notice the `http` vs `https` and the `dev.` prefix for local development vs the "staging" `stag.` prefix. By default, it includes origins for production, staging and development, with ports commonly used during local development by several popular frontend frameworks (Vue with `:8080`, React, Angular).
5757
- `smtp_port`: Port to use to send emails via SMTP. By default `587`.
5858
- `smtp_host`: Host to use to send emails, it would be given by your email provider, like Mailgun, Sparkpost, etc.
5959
- `smtp_user`: The user to use in the SMTP connection. The value will be given by your email provider.

0 commit comments

Comments
 (0)