all APIs are not prefixed with /api

This commit is contained in:
azivner
2017-09-30 10:05:12 -04:00
parent ff58456332
commit e28c06ef37
17 changed files with 41 additions and 44 deletions

View File

@@ -11,7 +11,7 @@ $(document).bind('keydown', 'alt+h', function() {
$("#noteHistoryContent").empty();
$.ajax({
url: baseUrl + 'notes-history/' + globalCurrentNote.detail.note_id,
url: baseApiUrl + 'notes-history/' + globalCurrentNote.detail.note_id,
type: 'GET',
success: function (result) {
globalHistoryItems = result;