Skip to content

Commit a16e54b

Browse files
committed
Remove hardcoded toolforge reference
1 parent f657632 commit a16e54b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public_html/resources/vue/shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let vue_components = {
77
toolname : window.location.pathname.replace(/(\/|\.php|\.html{0,1})+$/,'').replace(/^.*\//,'') , // Guessing tool name, override if necessary!
88
components : {} ,
99
template_container_base_id : 'vue_component_templates' ,
10-
components_base_url : 'https://tools-static.wmflabs.org/magnustools/resources/vue/' ,
10+
components_base_url : 'magnustools/resources/vue/' ,
1111
loadComponents : function ( components ) {
1212
return Promise.all ( components.map ( component => this.fetchComponent ( component ) ) )
1313
.then (fetched => fetched.map( (html, i) => this.injectComponent ( components[i], html ) ) );

0 commit comments

Comments
 (0)