1
0
mirror of https://github.com/badges/shields.git synced 2025-04-18 19:44:04 +03:00

Revert "Use old.stats.jenkins.io for JSON data (#10522)" (#10537)

This reverts commit 394a8271a660763758b04d53f47fb095be92a58c.
This commit is contained in:
chris48s 2024-09-30 10:09:27 +01:00 committed by GitHub
parent da6002099f
commit 2515cf9b27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ export default class JenkinsPluginInstalls extends BaseJsonService {
async fetch({ plugin, version }) {
return this._requestJson({
url: `https://old.stats.jenkins.io/plugin-installation-trend/${plugin}.stats.json`,
url: `https://stats.jenkins.io/plugin-installation-trend/${plugin}.stats.json`,
schema: version ? schemaInstallationsPerVersion : schemaInstallations,
httpErrors: {
404: 'plugin not found',