Skip to content

Commit 5eb3749

Browse files
committed
updated backend_cors_origins language
1 parent 65e3ffd commit 5eb3749

File tree

1 file changed

+2
-2
lines changed
  • {{cookiecutter.project_slug}}/frontend/app/content

1 file changed

+2
-2
lines changed

{{cookiecutter.project_slug}}/frontend/app/content/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Copy the contents and use that as password / secret key. And run that again to g
6868

6969
### Input variables
7070

71-
The generator (cookiecutter) will ask you for some data, you might want to have at hand before generating the project.
71+
The generator (cookiecutter) will ask you for some data, **you might want to have at hand before generating the project.**
7272

7373
The input variables, with their default values (some auto generated) are:
7474

@@ -85,7 +85,7 @@ The input variables, with their default values (some auto generated) are:
8585
- `secret_key`: Backend server secret key. Use the method above to generate it.
8686
- `first_superuser`: The first superuser generated, with it you will be able to create more users, etc. By default, based on the domain.
8787
- `first_superuser_password`: First superuser password. Use the method above to generate it.
88-
- `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).
88+
- `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).
8989
- `smtp_port`: Port to use to send emails via SMTP. By default `587`.
9090
- `smtp_host`: Host to use to send emails, it would be given by your email provider, like Mailgun, Sparkpost, etc.
9191
- `smtp_user`: The user to use in the SMTP connection. The value will be given by your email provider.

0 commit comments

Comments
 (0)