You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/05/21 07:14:36 UTC

[shardingsphere-benchmark] branch master updated: update the url of raw data

This is an automated email from the ASF dual-hosted git repository.

zhangyonglun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-benchmark.git


The following commit(s) were added to refs/heads/master by this push:
     new 98ee3a0  update the url of raw data
     new 978e6e8  Merge remote-tracking branch 'origin/master'
98ee3a0 is described below

commit 98ee3a0ab2656d9567f610c700b8ab6891858172
Author: tuohai666 <zh...@apache.org>
AuthorDate: Thu May 21 15:13:41 2020 +0800

    update the url of raw data
---
 shadingsphere-benchmark-ui/src/utils/api.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/shadingsphere-benchmark-ui/src/utils/api.js b/shadingsphere-benchmark-ui/src/utils/api.js
index 80a8340..3b3c181 100644
--- a/shadingsphere-benchmark-ui/src/utils/api.js
+++ b/shadingsphere-benchmark-ui/src/utils/api.js
@@ -17,8 +17,12 @@
 
 import axios from 'axios'
 import { Notice } from 'iview'
+
 const HOST =
-  'https://raw.githubusercontent.com/apache/incubator-shardingsphere-benchmark/master/report'
+  'https://gitbox.apache.org/repos/asf?p=shardingsphere-benchmark.git;a=blob_plain;f=report'
+
+const TAIL =
+  ';hb=HEAD'
 
 axios.defaults.retry = 3
 axios.defaults.retryDelay = 2000
@@ -50,7 +54,7 @@ function ajax(url, type, options) {
   return new Promise((resolve, reject) => {
     axios({
       method: type,
-      url: HOST + url,
+      url: HOST + url + TAIL,
       timeout: 3000,
       responseType: 'json'
     })