Skip to content

Commit

Permalink
Prepare for go live domain
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoering committed Dec 8, 2020
1 parent fdb0319 commit b8b0aad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import environments from "./env.json";
const domain = window.location.hostname;

let env = environments.dev;
if (domain.endsWith("data.catalogue.life")) {
if (domain.endsWith("data.catalogueoflife.org")) {
env = environments.prod;
} else if (domain.endsWith("localhost")) {
env = environments.dev;
Expand Down
6 changes: 3 additions & 3 deletions src/env.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"syncStateHeartbeat": 3000
},
"prod": {
"url": "https://data.catalogue.life/",
"dataApi": "https://api.catalogue.life/",
"url": "https://data.catalogueoflife.org/",
"dataApi": "https://api.catalogueoflife.org/",
"loadEnumsFromAPI": false,
"downloadApi": "https://download.catalogue.life/",
"downloadApi": "https://download.catalogueoflife.org/",
"env": "prod",
"kibanaEnv": {
"index": "37c669c0-2a5c-11eb-9ca0-ddc1af98892f"
Expand Down

0 comments on commit b8b0aad

Please sign in to comment.