diff --git a/client/package.json b/client/package.json index 9cd747dc2..3acb986d3 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "food-oasis-client", "description": "React Client for Food Oasis", - "version": "1.0.37", + "version": "1.0.38", "author": "Hack for LA", "license": "GPL-2.0", "private": true, diff --git a/client/src/helpers/Configuration.js b/client/src/helpers/Configuration.js index bbb88c63d..a69641a30 100644 --- a/client/src/helpers/Configuration.js +++ b/client/src/helpers/Configuration.js @@ -1,6 +1,8 @@ export const tenantId = (() => + window.location.hostname.toLowerCase().includes("or.") || + window.location.hostname.toLowerCase().includes("oregon.") || window.location.hostname.toLowerCase().includes("pdx.") || - window.location.hostname.toLowerCase().includes("portland") || + window.location.hostname.toLowerCase().includes("portland.") || process.env.REACT_APP_TENANT_ID === "4" ? 4 : window.location.hostname.toLowerCase().includes("hi.") || diff --git a/package.json b/package.json index d6a928f51..24e8619f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foodoasis", - "version": "1.0.37", + "version": "1.0.38", "author": "Hack for LA", "description": "Web API Server for Food Oasis", "main": "server.js",