Skip to content

Commit

Permalink
Add url_tail to final url.
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaei2000 committed Oct 22, 2024
1 parent e4d23f9 commit 9c9a809
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platform/src/ToolsManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ class ToolManager {
toolUrl.url = url;
}
else{
let url_tail = url.split('/')[1];
let url_port = this.getPort(url);
if (url_port != null){
let path = this.fetchPathByPort(url_port);

if(path != null){
let base_url = utility.getBaseURL();
toolUrl.url = base_url + path;
toolUrl.url = base_url + path + url_tail;
}
}
else{
Expand Down

0 comments on commit 9c9a809

Please sign in to comment.