We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the ENV VITE_API_LOCAL_DEV should manage if the loal basic auth is set or not. The env is a string, but we is read as boolean.
Transform ENV into boolean
LOCAL_DEV: Boolean(import.meta.env.VITE_API_LOCAL_DEV === 'true') || false
The text was updated successfully, but these errors were encountered:
Fixing authentication mode #3837
23ebe39
PR change requests #3837
2cdfa9a
Fixing authentication mode #3837 (#3838)
9c6a8ab
lorriborri
Successfully merging a pull request may close this issue.
Situation
Currently the ENV VITE_API_LOCAL_DEV should manage if the loal basic auth is set or not. The env is a string, but we is read as boolean.
Wanted
Transform ENV into boolean
Solution
LOCAL_DEV: Boolean(import.meta.env.VITE_API_LOCAL_DEV === 'true') || false
The text was updated successfully, but these errors were encountered: