config/dev: run proxy without VPN for production envs
This allows users to develop against production without having access to
the internal network.
62f37029ca/packages/config (running-prod-proxy-without-vpn)
This commit is contained in:
parent
f92cae1fc2
commit
49b3f04ea2
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ const config = require('@redhat-cloud-services/frontend-components-config');
|
|||
|
||||
const webpackProxy = {
|
||||
useProxy: true,
|
||||
useAgent: process.env.STAGE ? true : false,
|
||||
bounceProd: process.env.STAGE ? false : true,
|
||||
proxyVerbose: true,
|
||||
env: `${process.env.STAGE ? 'stage' : 'prod'}-${
|
||||
process.env.BETA ? 'beta' : 'stable'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue