Permalink
Browse files

fix(aurelia-authentication): add ie9 window.origin polyfill

  • Loading branch information...
doktordirk committed May 19, 2016
1 parent 7c3734f commit a06e66b0edd9fba63cad6c76a4e00871f1eb332c
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/aurelia-authentication.js
@@ -14,6 +14,11 @@ import './authFilter';
* @param {{}|Function} config
*/
function configure(aurelia, config) {
// ie9 polyfill
if (!window.location.origin) {
window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '');
}
aurelia.globalResources('./authFilter');
const baseConfig = aurelia.container.get(BaseConfig);

0 comments on commit a06e66b

Please sign in to comment.