mirror of
https://github.com/LukeHagar/pypistats.dev.git
synced 2025-12-07 20:57:44 +00:00
Update endpoint URL in package page to use PyPI Stats API for accurate package data retrieval.
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
function endpointUrl(path: string): string {
|
function endpointUrl(path: string): string {
|
||||||
return `/api/packages/${encodeURIComponent(data.packageName)}/${path}`;
|
return `https://pypistats.dev/api/packages/${encodeURIComponent(data.packageName)}/${path}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Streaming handled with {#await} blocks below
|
// Streaming handled with {#await} blocks below
|
||||||
|
|||||||
Reference in New Issue
Block a user