mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Add a config file for the frontend app
This commit is contained in:
parent
2ce15d4ab6
commit
f17a5ec36b
1 changed files with 10 additions and 0 deletions
10
src/config.js
Normal file
10
src/config.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
const env = process.env.NODE_ENV;
|
||||
const dev = env !== 'production';
|
||||
|
||||
const config = {
|
||||
env,
|
||||
dev,
|
||||
sdk: { clientId: '08ec69f6-d37e-414d-83eb-324e94afddf0', baseUrl: 'http://localhost:8088' },
|
||||
};
|
||||
|
||||
export default config;
|
||||
Loading…
Add table
Reference in a new issue