Add prefix /api to all service calles

This commit is contained in:
Dan Sosedoff
2014-12-13 20:40:25 -06:00
parent 7c85c867de
commit e0dd4c6a6f
3 changed files with 298 additions and 292 deletions

View File

@@ -4,7 +4,7 @@ var bookmarks = {};
function apiCall(method, path, params, cb) {
$.ajax({
url: path,
url: "/api" + path,
method: method,
cache: false,
data: params,