Skip to content

Commit

Permalink
Update App.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Apr 8, 2024
1 parent 0e48965 commit 3b8ab19
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions taxonium_website/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ import { HiOutlineBookOpen } from "react-icons/hi";
const default_query = {};

default_query.backend = null;
if(window.location.hostname.includes("viridan.cov2tree.org"){
if(window.location.hostname.includes("viridan.taxonium.org"){
default_query.backend = "https://viridian-api.cov2tree.org";
}

else if (window.location.hostname.includes("cov2tree.org")) {
if (window.location.hostname.includes("cov2tree.org")) {
default_query.backend = "https://api.cov2tree.org";
}

Expand Down

0 comments on commit 3b8ab19

Please sign in to comment.