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


The following commit(s) were added to refs/heads/main by this push:
     new 9e0a7de  update
9e0a7de is described below

commit 9e0a7de18fdde944a2cf0cd33cf56c56bb04b717
Author: LiLi <[email protected]>
AuthorDate: Mon Jan 24 15:23:32 2022 +0800

    update
    
    Signed-off-by: LiLi <[email protected]>
---
 site2/website-next/src/components/CLI.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/site2/website-next/src/components/CLI.js 
b/site2/website-next/src/components/CLI.js
index b269789..6bca478 100644
--- a/site2/website-next/src/components/CLI.js
+++ b/site2/website-next/src/components/CLI.js
@@ -51,11 +51,7 @@ class CLI extends React.Component {
     } else {
       version = parseInt(versions[0]) + "." + parseInt(versions[1]) + ".0";
       window.location.href =
-        "http://pulsar.apache.org/tools/"; +
-        clientModule +
-        "/" +
-        version +
-        "-SNAPSHOT";
+        "/tools/" + clientModule + "/" + version + "-SNAPSHOT";
     }
   }
 

Reply via email to