Skip to content

Commit

Permalink
fix document delete,
Browse files Browse the repository at this point in the history
don't add host to user uploaded images in editor
  • Loading branch information
dlamoris committed Sep 14, 2022
1 parent 945c642 commit ed253ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/services/TreeService.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,5 +666,6 @@ function TreeApi($timeout, RootScopeService, EventService, TreeService) {
this.on_treeData_change = on_treeData_change;
this.on_initialSelection_change = on_initialSelection_change;
this.expandPathToSelectedBranch = expandPathToSelectedBranch;
this.get_parent_branch = get_parent;

}
2 changes: 1 addition & 1 deletion src/services/URLService.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ function urlService(baseUrl, mmsUrl) {
*/
var getArtifactEmbedURL = function(reqOb,artifactExtension) {
var ext = (artifactExtension !== undefined) ? artifactExtension : reqOb.artifactExtension;
var r = root + '/projects/' + reqOb.projectId + '/refs/' + reqOb.refId + '/elements/' + reqOb.elementId + '/' + ext;
var r = '/projects/' + reqOb.projectId + '/refs/' + reqOb.refId + '/elements/' + reqOb.elementId + '/' + ext;
return addVersion(r, reqOb.commitId);
};

Expand Down

0 comments on commit ed253ce

Please sign in to comment.