lp1653998 webstaff redirect to login page
authorJason Etheridge <jason@equinoxinitiative.org>
Thu, 15 Jun 2017 21:18:16 +0000 (17:18 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 23 Jun 2017 15:07:46 +0000 (11:07 -0400)
on invalid/non-existent authtoken in all or most interfaces (hopefully)

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/staff/services/startup.js

index ea57367..79e48ed 100644 (file)
 
 angular.module('egCoreMod')
 
+.config(['$routeProvider','$locationProvider','$compileProvider',
+ function($routeProvider , $locationProvider , $compileProvider) {
+    $locationProvider.html5Mode(true);
+    $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|blob):/);
+}])
+
 .factory('egStartup', 
        ['$q','$rootScope','$location','$window','egIDL','egAuth','egEnv','egOrg',
 function($q,  $rootScope,  $location,  $window,  egIDL,  egAuth,  egEnv , egOrg ) {