You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `CORS_ALLOW_ORIGIN` | Origins that are allowed access to the resource. Either a comma separated list of origins, for example `http://example.net,http://mydomain.com` or `*` | `http://localhost:3000,http://127.0.0.1:3000` |
219
-
| `CORS_ALLOW_METHODS` | A comma separated list of HTTP method names that are allowed by this CORS policy, for example `DELETE,GET,OPTIONS,PATCH,POST,PUT` | `DELETE,GET,OPTIONS,PATCH,POST,PUT` |
220
-
| `CORS_ALLOW_CREDENTIALS` | Indicates whether the resource supports user credentials in the request | `true` |
221
-
| `CORS_EXPOSE_HEADERS` | A comma separated list of response headers clients can access, for example `Content-Length,X-My-Header` | `Content-Length,X-My-Header` |
222
-
| `CORS_ALLOW_HEADERS` | A comma separated list of request headers allowed to be sent by the client, for example `X-My-Header` | `Accept,Authorization,Content-Type,X-Custom-Header` |
223
-
| `CORS_MAX_AGE` | Indicates how long the results of a preflight request can be cached | `3600` |
216
+
| Environment variable | Description | Default value |
217
+
| --- | --- | --- |
218
+
| `CORS_ALLOW_ORIGIN` | Origins that are allowed access to the resource. Either a comma separated list of origins, for example `http://example.net,http://mydomain.com` or `*` | `http://localhost:3000,http://127.0.0.1:3000` |
219
+
| `CORS_ALLOW_METHODS` | A comma separated list of HTTP method names that are allowed by this CORS policy, for example `DELETE,GET,OPTIONS,PATCH,POST,PUT` | `DELETE,GET,OPTIONS,PATCH,POST,PUT` |
220
+
| `CORS_ALLOW_CREDENTIALS` | Indicates whether the resource supports user credentials in the request | `true` |
221
+
| `CORS_EXPOSE_HEADERS` | A comma separated list of response headers clients can access, for example `Content-Length,X-My-Header` | `Content-Length,X-My-Header` |
222
+
| `CORS_ALLOW_HEADERS` | A comma separated list of request headers allowed to be sent by the client, for example `X-My-Header` | `Accept,Authorization,Content-Type,X-Custom-Header` |
223
+
| `CORS_MAX_AGE` | Indicates how long the results of a preflight request can be cached | `3600` |
224
224
225
225
These variables are used to configure [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).
|`RAZZLE_API_PATH`| Used to generate frontend calls to the backend. Needs to be a public URL accessible by client browser. |`http://api.site.org/++api++/`|
27
-
|`RAZZLE_INTERNAL_API_PATH`| Used by the middleware to construct requests to the backend. It can be a non-public address. |`http://backend:8080/Plone`|
28
-
|`VOLTO_ROBOTSTXT`| Override the `robots.txt` file. |`"User-agent: *\nDisallow: "`|
24
+
| Environment variable | Description | Example |
25
+
| --- | --- | --- |
26
+
|`RAZZLE_API_PATH`| Used to generate frontend calls to the backend. Needs to be a public URL accessible by client browser. |`http://api.site.org/++api++/`|
27
+
|`RAZZLE_INTERNAL_API_PATH`| Used by the middleware to construct requests to the backend. It can be a non-public address. |`http://backend:8080/Plone`|
28
+
|`VOLTO_ROBOTSTXT`| Override the `robots.txt` file. |`"User-agent: *\nDisallow: "`|
29
29
30
30
```{note}
31
31
For an extensive list of environment variables used by the frontend, visit {doc}`/volto/configuration/environmentvariables`.
0 commit comments