rafiki
rafiki copied to clipboard
chore: update frontend environment variables
Changes proposed in this pull request
- Updated frontend environment variables:
GRAPHQL_URL,OPEN_PAYMENTS_URL,ENABLE_INSECURE_MESSAGE_COOKIE,NODE_ENV,KRATOS_ADMIN_URL. - Changed start command in
package.json. - Updated docs with the new changes.
Context
For this issue, I made the following changes:
- Made
GRAPHQL_URLandOPEN_PAYMENTS_URLmandatory and removed their default values. - Set
NODE_ENVtoproductionin docker files. - Set default value for
ENABLE_INSECURE_MESSAGE_COOKIEtotruein docker files and removed it fromstartscript inpackage.json - Added
KRATOS_ADMIN_URLtovariablesinenvConfig.server.ts. - Updated
frontend-variables.mdx.
Fixes #2994
Checklist
- [ ] Related issues linked using
fixes #number - [ ] Tests added/updated
- [ ] Make sure that all checks pass
- [ ] Bruno collection updated (if necessary)
- [ ] Documentation issue created with
user-docslabel (if necessary) - [ ] OpenAPI specs updated (if necessary)
Deploy Preview for brilliant-pasca-3e80ec canceled.
| Name | Link |
|---|---|
| Latest commit | d5ee331a1fd47128bb90e72a85ccbdabdda61e2d |
| Latest deploy log | https://app.netlify.com/sites/brilliant-pasca-3e80ec/deploys/670d2ae54be73900084a9f00 |
Related to #2994
Doc updates are ready to go in PR #3042, but I'm waiting for this issue and #2994 to be merged first. (Please let me merge my PR when it's time, there are prettier issues I need to fix first).
@melissahenderson merged!