Skip to content

Commit 72ed2b6

Browse files
committed
Change default repo to https://pypi.org/simple
This is preferable now with PEP691 support.
1 parent f3f6e48 commit 72ed2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypi_browser/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async def dispatch(
7474

7575

7676
config = starlette.config.Config()
77-
pypi_url = config('PYPI_BROWSER_PYPI_URL', default='https://pypi.org').rstrip('/')
77+
pypi_url = config('PYPI_BROWSER_PYPI_URL', default='https://pypi.org/simple').rstrip('/')
7878
repo: pypi.PythonRepository
7979
if pypi_url.endswith('/simple'):
8080
repo = pypi.SimpleRepository(pypi_url)

0 commit comments

Comments
 (0)