Skip to content

Commit

Permalink
correct URLs to bio.tools tool pages
Browse files Browse the repository at this point in the history
FIX #42
  • Loading branch information
hmenager committed Mar 9, 2021
1 parent 6ec5b20 commit 0d51ce3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/bio.tools.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function biotool_api(){
};
//get the url returning the tools for human
getter.get_url=function(){
return "https://bio.tools/?"+uiKey+"=%22"+identifier+"%22";
return "https://bio.tools/t?"+uiKey+"=%22"+identifier+"%22";
};
//get the url returning the tools for api call
getter.get_api_url=function(value){
Expand Down Expand Up @@ -179,8 +179,8 @@ function biotool_api(){
//get the url returning the tools for human
getter.get_url=function(){
return [
"https://bio.tools/?"+uiInKey+"=%22"+identifier+"%22",
"https://bio.tools/?"+uiOutKey+"=%22"+identifier+"%22"
"https://bio.tools/t?"+uiInKey+"=%22"+identifier+"%22",
"https://bio.tools/t?"+uiOutKey+"=%22"+identifier+"%22"
];
};
//get the url returning the tools for api call
Expand All @@ -195,6 +195,6 @@ function biotool_api(){
};//end of function get_for_double_search

api.get_for_data=get_for_double_search("inputDataTypeID","outputDataTypeID","inputDataTypeID","outputDataTypeID");
api.get_for_format=get_for_double_search("inputDataFormatID","outputDataFormatID","inputDataFormatID","outputDataFormatID");
api.get_for_format=get_for_double_search("inputID","outputID","inputDataFormatID","outputDataFormatID");
return api;
}

0 comments on commit 0d51ce3

Please sign in to comment.