Skip to content

Commit

Permalink
Merge pull request #161 from mdenet/feature/interpolate-tool-urls
Browse files Browse the repository at this point in the history
Allow URL interpolation in tool URLs
  • Loading branch information
szschaler authored Jan 10, 2024
2 parents 3636944 + da3c852 commit 36dc76f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions platform/src/ActivityManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,10 @@ class ActivityManager {
var toolUrls = [];

for ( const activitykey of Object.keys(this.activities)){

toolUrls = toolUrls.concat( this.activities[activitykey].tools );
toolUrls = toolUrls.concat(this.activities[activitykey].tools
.map((url, _idx) => {
return this.interpolate(url);
}));
}

return ( new Set(toolUrls) );
Expand Down

0 comments on commit 36dc76f

Please sign in to comment.