Skip to content

Commit

Permalink
Add tailing slash to config.base
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Walch committed Jul 22, 2015
1 parent d258c10 commit 131e198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/api/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ define([
if (config.base === '.') {
config.base = utils.getScriptPath('jwplayer.js');
}
config.base = config.base || utils.repo();
config.base = (config.base || utils.repo()).replace(/\/?$/, '/');
__webpack_public_path__ = config.base;
config.width = _normalizeSize(config.width);
config.height = _normalizeSize(config.height);
Expand Down

0 comments on commit 131e198

Please sign in to comment.