未验证 提交 6440de74 编写于 作者: B break60 提交者: GitHub

[cherry-pick-#4688][UI] Fixed a 404 error when the project name contains "http" (#4689)

上级 428cc85c
......@@ -22,7 +22,7 @@ const apiPrefix = '/dolphinscheduler'
const reSlashPrefix = /^\/+/
const resolveURL = (url) => {
if (url.indexOf('http') !== -1) {
if (url.indexOf('http') === 0) {
return url
}
if (url.charAt(0) !== '/') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册