Skip to content
Snippets Groups Projects
Commit 7ff5d97e authored by pdg16's avatar pdg16
Browse files

configs for envs

parent 77f12684
No related branches found
No related tags found
3 merge requests!58Version 1.1,!54Issue #53: Fix password info,!15Issue/4
const development = {
genformsapi: {
url: "http://200.236.31.188/api/"
}
};
const production = {
genformsapi: {
url: ""
}
};
let conf;
if(process.env.REACT_APP_STAGE === "production") {
conf = production;
} else {
conf = development;
}
const config = conf;
export default config;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment