aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/RegisterController.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/RegisterController.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/RegisterController.js')
-rw-r--r--web/app/view/RegisterController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/RegisterController.js b/web/app/view/RegisterController.js
index dfc4a1735..b79c5f59b 100644
--- a/web/app/view/RegisterController.js
+++ b/web/app/view/RegisterController.js
@@ -24,7 +24,7 @@ Ext.define('Traccar.view.RegisterController', {
Ext.Ajax.request({
scope: this,
method: 'POST',
- url: '/api/users',
+ url: 'api/users',
jsonData: form.getValues(),
callback: this.onCreateReturn
});