summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rz_api_backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rz_api_backend.js b/src/client/rz_api_backend.js
index 9401e6f1..9b360f75 100644
--- a/src/client/rz_api_backend.js
+++ b/src/client/rz_api_backend.js
@@ -237,7 +237,7 @@ define(['util', 'model/core'], function(util, model_core) {
this.rzdoc_create = function(rzdoc_name, on_success, on_error) {
var req_opts = { type : 'POST' };
- return ajax_rs('/rzdoc/' + rzdoc_name + '/create', req_opts, on_success, on_error);
+ return ajax_rs('/api/rzdoc/' + rzdoc_name + '/create', req_opts, on_success, on_error);
}
/**
@@ -246,7 +246,7 @@ define(['util', 'model/core'], function(util, model_core) {
this.rzdoc_list = function(on_success, on_error) {
var req_opts = { type : 'POST' };
- return ajax_rs('/rzdoc/list', req_opts, on_success, on_error);
+ return ajax_rs('/api/rzdoc/list', req_opts, on_success, on_error);
}
}