config: Dev against production environment
This commit is contained in:
parent
318a161291
commit
b7be40bfe1
2 changed files with 8 additions and 5 deletions
|
|
@ -8,8 +8,7 @@ const webpackProxy = {
|
|||
useProxy: true,
|
||||
proxyVerbose: true,
|
||||
debug: true,
|
||||
// change to one of ['ci-', 'qa-', 'stage-', 'prod-'] based on required env
|
||||
env: `ci-${process.env.BETA ? 'beta' : 'stable'}`,
|
||||
env: `prod-${process.env.BETA ? 'beta' : 'stable'}`,
|
||||
appUrl: process.env.BETA ? '/beta/insights/image-builder' : '/insights/image-builder',
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue