organizing env variables and white label stuff
This commit is contained in:
parent
bd852c083a
commit
0ed8d961f6
7 changed files with 20 additions and 17 deletions
|
|
@ -35,7 +35,7 @@ import DataDogProvider, { useDataDogProxyAPI } from "./datadogProxyAPI";
|
|||
|
||||
export const pondURL = (partial: string, demo: boolean = false): string => {
|
||||
let url = import.meta.env.VITE_APP_API_URL + (demo ? "/demo" : "") + partial;
|
||||
// console.log(url)
|
||||
// console.log("API URL: "+url)
|
||||
// if (isStaging()) url = process.env.REACT_APP_STAGING_API_URL + (demo ? "/demo" : "") + partial;
|
||||
return url;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue