Skip to content

Parsing .env boolean values #429

@jiachen247

Description

@jiachen247

Currently, in .env REACT_APP_USE_BACKEND= is left empty to set to false and setting any value here results in using the backend.

This is really counter intuitive, we should pattern match the value here to 1/true/ or 0/false to use or not use the backend respectively.

keep in mind that dotenv parses all valuse as strings
motdotla/dotenv#51

And then update the readme and template .env

Metadata

Metadata

Assignees

Labels

EnhancementNew feature requestminorLess important than important, but more than nice-to-have

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions