mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
Updated angularjs requires $location:nobase
https://gist.github.com/lpsBetty/714c93492ab4d535d105
This commit is contained in:
parent
b7978bf6ee
commit
5f5b34db27
@ -2,7 +2,11 @@ define([
|
||||
'app'
|
||||
], function(app) {
|
||||
app.config(function($stateProvider, $urlRouterProvider, $locationProvider, $couchPotatoProvider) {
|
||||
$locationProvider.html5Mode(true);
|
||||
$locationProvider.html5Mode({
|
||||
enabled: true,
|
||||
requireBase: false
|
||||
})
|
||||
|
||||
|
||||
$urlRouterProvider.otherwise('/');
|
||||
|
||||
@ -16,4 +20,4 @@ define([
|
||||
}
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -7,7 +7,10 @@ define([
|
||||
'services/playbooks'
|
||||
], function(app, io) {
|
||||
app.config(function($stateProvider, $urlRouterProvider, $locationProvider, $couchPotatoProvider) {
|
||||
$locationProvider.html5Mode(true);
|
||||
$locationProvider.html5Mode({
|
||||
enabled: true,
|
||||
requireBase: false
|
||||
})
|
||||
|
||||
$urlRouterProvider.otherwise('');
|
||||
|
||||
@ -33,4 +36,4 @@ define([
|
||||
user.getUser(function() {});
|
||||
playbooks.getPlaybooks(function() {});
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user