Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

Commit

Permalink
Found another bug. When using ports, angular requires you to have the…
Browse files Browse the repository at this point in the history
… slash at the end of the url even though the data returns when entered manually
  • Loading branch information
ankoh committed Sep 5, 2015
1 parent 90bddf0 commit 6616550
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/src/services/api-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function CacheApi($log, $q, $http, ServiceConfiguration) {

CacheApi.prototype.queryStatusAsync = function() {
var url = this.config.getCacheUrlBase();
url += "/cache/status";
url += "/cache/status/";

$q = this.$q;

Expand All @@ -31,7 +31,7 @@ CacheApi.prototype.queryStatusAsync = function() {

CacheApi.prototype.queryEntitiesAsync = function() {
var url = this.config.getCacheUrlBase();
url += "/cache/entities";
url += "/cache/entities/";

$q = this.$q;

Expand All @@ -56,7 +56,7 @@ CacheApi.prototype.queryEntitiesAsync = function() {

CacheApi.prototype.triggerUpdateAsync = function() {
var url = this.config.getCacheUrlBase();
url += "/cache/update";
url += "/cache/update/";

$q = this.$q;

Expand Down
2 changes: 1 addition & 1 deletion app/src/services/api-documents.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function DocumentsApi($log, $q, $http, ServiceConfiguration, Converter) {
DocumentsApi.prototype.queryDocumentsAsync = function(profileIds, fieldIds, orderAttr, orderDir, offset, limit, onlyCount) {
var self = this;
var url = this.config.getCacheUrlBase();
url += "/documents";
url += "/documents/";

var arguments = []

Expand Down
2 changes: 1 addition & 1 deletion app/src/services/api-fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function FieldsApi($log, $q, $http, ServiceConfiguration) {

FieldsApi.prototype.queryFieldsAsync = function() {
var url = this.config.getCacheUrlBase();
url += "/fields";
url += "/fields/";

$q = this.$q;

Expand Down

0 comments on commit 6616550

Please sign in to comment.