diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-14 13:43:20 +0300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-14 13:43:20 +0300 |
commit | d9777620508a7b197f0e5752869eef91d83e20a0 (patch) | |
tree | c247f37ed7621fba2eca775f628a19790a3bbf3c /web/app/view/NotificationsController.js | |
parent | 5d3b7cbe5924d4a4552035626a83e26b1e756255 (diff) | |
download | traccar-server-d9777620508a7b197f0e5752869eef91d83e20a0.tar.gz traccar-server-d9777620508a7b197f0e5752869eef91d83e20a0.tar.bz2 traccar-server-d9777620508a7b197f0e5752869eef91d83e20a0.zip |
Use relative URLs for web app
Diffstat (limited to 'web/app/view/NotificationsController.js')
-rw-r--r-- | web/app/view/NotificationsController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/NotificationsController.js b/web/app/view/NotificationsController.js index 90479fe07..628343a84 100644 --- a/web/app/view/NotificationsController.js +++ b/web/app/view/NotificationsController.js @@ -64,7 +64,7 @@ Ext.define('Traccar.view.NotificationsController', { var record = this.getView().getStore().getAt(rowIndex); Ext.Ajax.request({ scope: this, - url: '/api/users/notifications', + url: 'api/users/notifications', jsonData: { userId: this.userId, type: record.getData().type, |