mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Make auth URLs friendlier to load balancers and allow partials to be loaded as well.
This commit is contained in:
parent
beff3d88f2
commit
b19e1784ab
6 changed files with 18 additions and 10 deletions
|
@ -5,12 +5,12 @@ define(['./app'], function(app) {
|
|||
, function($routeProvider, $locationProvider) {
|
||||
$locationProvider.html5Mode(true)
|
||||
$routeProvider
|
||||
.when('/', {
|
||||
templateUrl: 'partials/signin'
|
||||
.when('/auth/ldap', {
|
||||
templateUrl: '/static/auth/ldap/views/signin.html'
|
||||
, controller: 'SignInCtrl'
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/'
|
||||
redirectTo: '/auth/ldap'
|
||||
})
|
||||
}
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue