Set html5Mode to false until refreshing page works

If with html5Mode true, freshing a page fails because state is not
preserved.
This commit is contained in:
Kyle Johnson 2015-02-18 11:39:43 -05:00
parent 5a2e6cef81
commit 29bcbb2af9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ var ZoneMinder = angular.module('ZoneMinder', [
]); ]);
ZoneMinder.config(['$locationProvider', function($locationProvider) { ZoneMinder.config(['$locationProvider', function($locationProvider) {
$locationProvider.html5Mode(true); $locationProvider.html5Mode(false);
}]); }]);
ZoneMinder.config(function($stateProvider, $urlRouterProvider) { ZoneMinder.config(function($stateProvider, $urlRouterProvider) {