diff --git a/gdc-viewer/js/Store/SeqFeature/CNVs.js b/gdc-viewer/js/Store/SeqFeature/CNVs.js index 93f3538..6b3972a 100644 --- a/gdc-viewer/js/Store/SeqFeature/CNVs.js +++ b/gdc-viewer/js/Store/SeqFeature/CNVs.js @@ -78,7 +78,7 @@ function( var bodyVal = JSON.stringify(thisB.createQuery(ref, start, end)); // Fetch CNVs and create features - fetch(thisB.graphQLUrl, { + fetch(thisB.graphQLUrl + '/CNVsTable', { method: 'post', headers: { 'X-Requested-With': null }, body: bodyVal diff --git a/gdc-viewer/js/View/GDCDialog.js b/gdc-viewer/js/View/GDCDialog.js index 1818e58..d98fcbd 100644 --- a/gdc-viewer/js/View/GDCDialog.js +++ b/gdc-viewer/js/View/GDCDialog.js @@ -234,7 +234,7 @@ function ( var geneLoading = thisB.createLoadingIcon(thisB.geneFacetTab.containerNode); // Update the accordions with results from the GDC - fetch(thisB.baseGraphQLUrl, { + fetch(thisB.baseGraphQLUrl + '/facets', { method: 'post', headers: { 'X-Requested-With': null }, body: JSON.stringify(bodyVal) diff --git a/gdc-viewer/js/View/GDCPrimarySitesDialog.js b/gdc-viewer/js/View/GDCPrimarySitesDialog.js index 61eefcd..fdb5f94 100644 --- a/gdc-viewer/js/View/GDCPrimarySitesDialog.js +++ b/gdc-viewer/js/View/GDCPrimarySitesDialog.js @@ -73,7 +73,7 @@ function ( variables: {} } - fetch(thisB.baseGraphQLUrl, { + fetch(thisB.baseGraphQLUrl + '/primarySites', { method: 'post', headers: { 'X-Requested-With': null }, body: JSON.stringify(bodyVal) diff --git a/gdc-viewer/js/View/GDCProjectDialog.js b/gdc-viewer/js/View/GDCProjectDialog.js index 3599331..3b334ec 100644 --- a/gdc-viewer/js/View/GDCProjectDialog.js +++ b/gdc-viewer/js/View/GDCProjectDialog.js @@ -61,7 +61,7 @@ function ( */ getProjectInformation: function() { var thisB = this; - var url = thisB.baseGraphQLUrl; + var url = thisB.baseGraphQLUrl + '/projects'; // Clear current results dom.empty(thisB.resultsContainer);