Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: environment variable type conversion issue #4180

Closed
wants to merge 1 commit into from

Conversation

MrrDrr
Copy link
Contributor

@MrrDrr MrrDrr commented Mar 1, 2024

When the environment variable such as ENABLE_BALANCE_QUERY is set to "0", it is mistakenly considered as "true". This PR fixes this issue.

Copy link

vercel bot commented Mar 1, 2024

@MrrDrr is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

github-actions bot commented Mar 1, 2024

Your build has completed!

Preview deployment

@fred-bf
Copy link
Contributor

fred-bf commented Mar 1, 2024

@MrrDrr users may mistaken configured the env as "true" or other var, we are expecting leaving ENABLE_BALANCE_QUERY to blank if you want to disable it

@fred-bf fred-bf closed this Mar 1, 2024
@MrrDrr
Copy link
Contributor Author

MrrDrr commented Mar 2, 2024

@MrrDrr users may mistaken configured the env as "true" or other var, we are expecting leaving ENABLE_BALANCE_QUERY to blank if you want to disable it

understood, I have submitted a new PR to fix README.md #4193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants