mirror of
https://github.com/openstf/stf
synced 2025-10-03 17:59:28 +02:00
Ensure that all API calls and static resources are in their own unique paths. This makes it easier to add a load balancer on top of everything.
This commit is contained in:
parent
7da3c91289
commit
1d77d8c97d
34 changed files with 37 additions and 36 deletions
19
res/auth/mock/scripts/main.js
Normal file
19
res/auth/mock/scripts/main.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
require.config({
|
||||
paths: {
|
||||
'angular': '../../../bower_components/angular/angular'
|
||||
, 'angular-route': '../../../bower_components/angular-route/angular-route'
|
||||
}
|
||||
, shim: {
|
||||
'angular': {
|
||||
exports: 'angular'
|
||||
}
|
||||
, 'angular-route': {
|
||||
deps: [
|
||||
'angular'
|
||||
]
|
||||
}
|
||||
}
|
||||
, deps: [
|
||||
'./bootstrap'
|
||||
]
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue