Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
new build
Browse files Browse the repository at this point in the history
  • Loading branch information
kand committed Feb 24, 2016
1 parent 5f2b584 commit e052fff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion dist/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -5833,7 +5833,8 @@ angular.module('cms.tunic.config', [
* @returns {boolean} true if url should be intercepted, false otherwise.
*/
shouldBeIntercepted: function (url) {
return url.startsWith(backendRoot + apiPath);
var urlTest = backendRoot + apiPath;
return urlTest !== '' && url.startsWith(urlTest);
}
};
};
Expand Down
Loading

0 comments on commit e052fff

Please sign in to comment.