aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UsersController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-14 13:43:20 +0300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-14 13:43:20 +0300
commitd9777620508a7b197f0e5752869eef91d83e20a0 (patch)
treec247f37ed7621fba2eca775f628a19790a3bbf3c /web/app/view/UsersController.js
parent5d3b7cbe5924d4a4552035626a83e26b1e756255 (diff)
downloadtrackermap-server-d9777620508a7b197f0e5752869eef91d83e20a0.tar.gz
trackermap-server-d9777620508a7b197f0e5752869eef91d83e20a0.tar.bz2
trackermap-server-d9777620508a7b197f0e5752869eef91d83e20a0.zip
Use relative URLs for web app
Diffstat (limited to 'web/app/view/UsersController.js')
-rw-r--r--web/app/view/UsersController.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/UsersController.js b/web/app/view/UsersController.js
index e745ee04c..73088a40e 100644
--- a/web/app/view/UsersController.js
+++ b/web/app/view/UsersController.js
@@ -77,7 +77,7 @@ Ext.define('Traccar.view.UsersController', {
linkObjectName: 'deviceId',
storeName: 'AllDevices',
linkStoreName: 'Devices',
- urlApi: '/api/permissions/devices',
+ urlApi: 'api/permissions/devices',
baseObject: user.getData().id
}
}).show();
@@ -93,7 +93,7 @@ Ext.define('Traccar.view.UsersController', {
linkObjectName: 'groupId',
storeName: 'AllGroups',
linkStoreName: 'Groups',
- urlApi: '/api/permissions/groups',
+ urlApi: 'api/permissions/groups',
baseObject: user.getData().id
}
}).show();
@@ -109,7 +109,7 @@ Ext.define('Traccar.view.UsersController', {
linkObjectName: 'geofenceId',
storeName: 'AllGeofences',
linkStoreName: 'Geofences',
- urlApi: '/api/permissions/geofences',
+ urlApi: 'api/permissions/geofences',
baseObject: user.getData().id
}
}).show();