You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by he...@apache.org on 2024/03/22 07:23:43 UTC
(shenyu-dashboard) branch master updated: The improvement of #428 (#429)
This is an automated email from the ASF dual-hosted git repository.
hefengen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 6f45b8dc The improvement of #428 (#429)
6f45b8dc is described below
commit 6f45b8dc4f71a2cc55129c6caa8136dc46e32125
Author: Kerwin Bryant <ke...@qq.com>
AuthorDate: Fri Mar 22 15:23:39 2024 +0800
The improvement of #428 (#429)
---
src/index.ejs | 2 +-
src/services/api.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/index.ejs b/src/index.ejs
index b6f74b89..bc9e86c0 100644
--- a/src/index.ejs
+++ b/src/index.ejs
@@ -23,7 +23,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Apache ShenYu Gateway</title>
- <link rel="icon" href="/favicon.ico" type="image/x-icon">
+ <link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
diff --git a/src/services/api.js b/src/services/api.js
index d3934f59..c1ba9a18 100644
--- a/src/services/api.js
+++ b/src/services/api.js
@@ -19,7 +19,7 @@ import { stringify } from "qs"
import request from "../utils/request"
import download from "../utils/download"
-const baseUrl = document.getElementById("httpPath").innerHTML
+const baseUrl = document.getElementById("httpPath").innerHTML || '.';
/* add user */
export async function addUser (params) {