Browse Source

[Fix-4640][UI] Fixed a 404 error when the project name contains "http" (#4688)

this closes #4640  #4672
pull/3/MERGE
lisen 4 years ago committed by GitHub
parent
commit
e3902bf340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/js/module/io/index.js

2
dolphinscheduler-ui/src/js/module/io/index.js

@ -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) !== '/') {

Loading…
Cancel
Save