Skip to content

Commit

Permalink
Remove hardcoded toolforge reference
Browse files Browse the repository at this point in the history
  • Loading branch information
toban committed Nov 11, 2021
1 parent f657632 commit a16e54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/resources/vue/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let vue_components = {
toolname : window.location.pathname.replace(/(\/|\.php|\.html{0,1})+$/,'').replace(/^.*\//,'') , // Guessing tool name, override if necessary!
components : {} ,
template_container_base_id : 'vue_component_templates' ,
components_base_url : 'https://tools-static.wmflabs.org/magnustools/resources/vue/' ,
components_base_url : 'magnustools/resources/vue/' ,
loadComponents : function ( components ) {
return Promise.all ( components.map ( component => this.fetchComponent ( component ) ) )
.then (fetched => fetched.map( (html, i) => this.injectComponent ( components[i], html ) ) );
Expand Down

0 comments on commit a16e54b

Please sign in to comment.