Skip to content

Commit

Permalink
use NPM_CONFIG_REGISTRY as env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ruhz3 authored Oct 7, 2024
1 parent 93f7c89 commit f684c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/utils/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _get_npm_registry() -> str:
Returns:
str:
"""
if npm_registry := os.environ.get("NPM_REGISTRY", ""):
if npm_registry := os.environ.get("NPM_CONFIG_REGISTRY", ""):
return npm_registry
else:
return get_best_registry()

0 comments on commit f684c8f

Please sign in to comment.