Removing global variable, making everything base slash

This commit is contained in:
James Barnsley
2019-01-22 16:57:43 +13:00
parent 34ab2d94cf
commit 4d7f81b685
30 changed files with 1713 additions and 938 deletions

View File

@ -1672,7 +1672,7 @@ const MopidyMiddleware = (function(){
key: action.key,
new_key: response.uri
});
this.props.history.push(global.baseURL+'playlist/'+encodeURIComponent(response.uri));
this.props.history.push('/playlist/'+encodeURIComponent(response.uri));
}
store.dispatch(uiActions.createNotification({type: 'info', content: 'Playlist saved'}));