Skip to content
Snippets Groups Projects
Commit c68ee659 authored by moon's avatar moon
Browse files

Added field list for fetchAllCondensates.vue

parent 10742cf6
No related branches found
No related tags found
No related merge requests found
......@@ -42,15 +42,11 @@ export default {
// console.log(vm.isExperimental)
let url;
if(vm.isExperimental === 'null' ){
url = `${host}/condensates?size=100000`;
url = `${host}/condensates?fields=biomarkers,canonical_id,description,is_experimental,name,protein_count,proteins,species_name,species_tax_id,synonyms,confidence_score&size=100000`;
}else{
url = `${host}/condensates?size=100000&is_experimental=${vm.isExperimental}`;
url = `${host}/condensates?fields=biomarkers,canonical_id,description,is_experimental,name,protein_count,proteins,species_name,species_tax_id,synonyms,confidence_score&size=100000&is_experimental=${vm.isExperimental}`;
}
fetch(url, {
method: 'GET',
mode: 'cors',
......
......@@ -3,10 +3,10 @@ export const devHost = '/api';
export const apiHost = '/cms';
export const devApiHost = '/cms';
// export const devHost = 'https://dev.ddcode.org/api';
// export const devHost = 'http://localhost:5001';
// export const apiHost = 'http://localhost:1337';
// export const devApiHost = 'http://localhost:1337';
// export const devHost = 'https://dev.ddcode.org/api';
// export const devHost = 'http://localhost:5001';
// export const apiHost = 'http://localhost:1337';
// export const devApiHost = 'http://localhost:1337';
// apikey should be give here:
export const apikey = process.env.VUE_APP_API_KEY;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment