You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/02/17 12:02:17 UTC
[pulsar-site] 01/01: update
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit a0bc2f9ba991427d8d3ce32f545e1dff01d467cc
Author: LiLi <ur...@apache.org>
AuthorDate: Thu Feb 17 20:02:09 2022 +0800
update
Signed-off-by: LiLi <ur...@apache.org>
---
site2/website-next/scripts/replace.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site2/website-next/scripts/replace.js b/site2/website-next/scripts/replace.js
index bf7cd5a..fd65555 100644
--- a/site2/website-next/scripts/replace.js
+++ b/site2/website-next/scripts/replace.js
@@ -92,7 +92,7 @@ function clientVersionUrl(version, type) {
var majorVersion = parseInt(versions[0]);
var minorVersion = parseInt(versions[1]);
if (majorVersion === 2 && minorVersion < 5) {
- return `/api/` + type + `/` + version;
+ return `/api/` + type + `/` + version + "/";
} else if (majorVersion >= 2 && minorVersion >= 5) {
return (
`/api/` +
@@ -102,7 +102,7 @@ function clientVersionUrl(version, type) {
`.` +
minorVersion +
`.0` +
- `-SNAPSHOT`
+ `-SNAPSHOT/`
);
}
}