Skip to content

Commit

Permalink
fix html5mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemmarsh committed Oct 7, 2016
1 parent d139e57 commit dac7b4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/js/on_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ function OnConfig($stateProvider, $locationProvider, $urlRouterProvider, $compil
$compileProvider.debugInfoEnabled(false);
}

$locationProvider.html5Mode(true);
$locationProvider.html5Mode({
enabled: true,
requireBase: false
});

$stateProvider
.state('Home', {
Expand Down

0 comments on commit dac7b4e

Please sign in to comment.