feat: support for proxy server (#352)

Co-authored-by: Adrian Martin <adrian.martin@nbcuni.com>
This commit is contained in:
adrian549092
2020-09-27 21:43:58 -04:00
committed by GitHub
parent 772de900a1
commit fdcd787f91
4 changed files with 15 additions and 0 deletions
+6
View File
@@ -133,6 +133,11 @@ const page = {
width: 1920
};
const proxy = {
address: envOrString(process.env.PROXY_ADDRESS, ''),
port: envOrNumber(process.env.PROXY_PORT, 80)
};
const store = {
country: envOrString(process.env.COUNTRY, 'usa'),
microCenterLocation: envOrString(process.env.MICROCENTER_LOCATION, 'web'),
@@ -148,5 +153,6 @@ export const Config = {
notifications,
nvidia,
page,
proxy,
store
};