From d9777620508a7b197f0e5752869eef91d83e20a0 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 14 Aug 2016 13:43:20 +0300 Subject: Use relative URLs for web app --- web/app/store/CommandTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/store/CommandTypes.js') 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); } }, -- cgit v1.2.3