mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-27 02:52:14 +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('/');
|
||||
|
||||
|
@ -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('');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user