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:
Simo Kinnunen
2014-07-14 17:09:50 +09:00
parent 7da3c91289
commit 1d77d8c97d
34 changed files with 37 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
module.exports = function InfoCtrl($scope, LightboxImageService) {
$scope.openDevicePhoto = function (device) {
var title = device.name
var enhancedPhoto800 = '/static/devices/photo/x800/' + device.image
var enhancedPhoto800 = '/static/app/devices/photo/x800/' + device.image
LightboxImageService.open(title, enhancedPhoto800)
}
}