aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/CommandTypes.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/store/CommandTypes.js
parent5d3b7cbe5924d4a4552035626a83e26b1e756255 (diff)
downloadtraccar-server-d9777620508a7b197f0e5752869eef91d83e20a0.tar.gz
traccar-server-d9777620508a7b197f0e5752869eef91d83e20a0.tar.bz2
traccar-server-d9777620508a7b197f0e5752869eef91d83e20a0.zip
Use relative URLs for web app
Diffstat (limited to 'web/app/store/CommandTypes.js')
-rw-r--r--web/app/store/CommandTypes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/store/CommandTypes.js b/web/app/store/CommandTypes.js
index d3825fb95..48405db6f 100644
--- a/web/app/store/CommandTypes.js
+++ b/web/app/store/CommandTypes.js
@@ -22,7 +22,7 @@ Ext.define('Traccar.store.CommandTypes', {
'beforeload' : function (store) {
var proxy;
proxy = store.getProxy();
- proxy.setUrl('/api/commandtypes?deviceId' + proxy.extraParams.deviceId);
+ proxy.setUrl('api/commandtypes?deviceId' + proxy.extraParams.deviceId);
}
},