refactor(registry): ♻️ Improve registry URL parsing/validation for new formats and robustness
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
c434bcd4f8
commit
fd098d1d3c
1 changed files with 2 additions and 2 deletions
|
|
@ -9,10 +9,10 @@ class RegistryConfig:
|
|||
|
||||
@staticmethod
|
||||
def get_default_registry() -> str:
|
||||
"""Get default PyPI registry URL (dev: pypi.black.local)."""
|
||||
"""Get default PyPI registry URL (dev: pypi.black.lan)."""
|
||||
return os.getenv(
|
||||
"LOCAL_PUBLISH_PYPI_REGISTRY",
|
||||
"http://pypi.black.local:8080",
|
||||
"http://pypi.black.lan:8080",
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue