From 81000222cd870c57d29db7a41f220fe265ef3c73 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 30 May 2024 15:05:46 +1000 Subject: [PATCH] fix javadoc links Signed-off-by: Olivier Lamy --- lib/jetty-downloads-extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jetty-downloads-extension.js b/lib/jetty-downloads-extension.js index 83ae79f..e038dac 100644 --- a/lib/jetty-downloads-extension.js +++ b/lib/jetty-downloads-extension.js @@ -1,7 +1,7 @@ 'use strict' const MAVEN_REPO_URL = 'https://repo1.maven.org/maven2' -const JAVADOC_ROOT_URL = 'https://eclipse.dev/jetty/javadoc' +const JAVADOC_ROOT_URL = 'https://javadoc.jetty.org' const REPOSITORY = 'jetty/jetty.project' const GROUP_ID = 'org.eclipse.jetty' const ARTIFACT_ID = 'jetty-home' @@ -53,7 +53,7 @@ function collectLatestReleases ({ octokit, owner, repo, firstMajorVersion, lastM zip, zipHash, url: release.html_url, - api: `${JAVADOC_ROOT_URL}/jetty-${majorVersion}/index.html?overview-summary.html`, + api: `${JAVADOC_ROOT_URL}/jetty-${majorVersion}/index.html`, } } if (lastMajorVersion && createRange(firstMajorVersion, lastMajorVersion).every((it) => it in accum)) return accum