aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-16 14:51:10 +0800
committerFabio Berger <me@fabioberger.com>2018-02-16 14:51:10 +0800
commit03797545f92733b3539001fa8518a523a44310ac (patch)
tree6cedd1964c0c6cad3c97d1f604a4dae73c237a03
parent2778f96483ea21f5ec33f4222c19d7864eca2f1f (diff)
downloaddexon-sol-tools-03797545f92733b3539001fa8518a523a44310ac.tar
dexon-sol-tools-03797545f92733b3539001fa8518a523a44310ac.tar.gz
dexon-sol-tools-03797545f92733b3539001fa8518a523a44310ac.tar.bz2
dexon-sol-tools-03797545f92733b3539001fa8518a523a44310ac.tar.lz
dexon-sol-tools-03797545f92733b3539001fa8518a523a44310ac.tar.xz
dexon-sol-tools-03797545f92733b3539001fa8518a523a44310ac.tar.zst
dexon-sol-tools-03797545f92733b3539001fa8518a523a44310ac.zip
uncomment dev logic
-rw-r--r--packages/website/ts/containers/connect_documentation.tsx5
-rw-r--r--packages/website/ts/containers/zero_ex_js_documentation.tsx3
2 files changed, 3 insertions, 5 deletions
diff --git a/packages/website/ts/containers/connect_documentation.tsx b/packages/website/ts/containers/connect_documentation.tsx
index 2c1de2970..fd3029970 100644
--- a/packages/website/ts/containers/connect_documentation.tsx
+++ b/packages/website/ts/containers/connect_documentation.tsx
@@ -24,9 +24,8 @@ const connectDocSections = {
types: constants.TYPES_SECTION_NAME,
};
-// const s3BucketName =
-// configs.ENVIRONMENT === Environments.DEVELOPMENT ? 'staging-connect-docs-jsons' : 'connect-docs-jsons';
-const s3BucketName = 'connect-docs-jsons';
+const s3BucketName =
+ configs.ENVIRONMENT === Environments.DEVELOPMENT ? 'staging-connect-docs-jsons' : 'connect-docs-jsons';
const docsJsonRoot = `https://s3.amazonaws.com/${s3BucketName}`;
const docsInfoConfig: DocsInfoConfig = {
diff --git a/packages/website/ts/containers/zero_ex_js_documentation.tsx b/packages/website/ts/containers/zero_ex_js_documentation.tsx
index fd9eb5846..eee2c7cc8 100644
--- a/packages/website/ts/containers/zero_ex_js_documentation.tsx
+++ b/packages/website/ts/containers/zero_ex_js_documentation.tsx
@@ -36,8 +36,7 @@ const zeroExJsDocSections = {
types: constants.TYPES_SECTION_NAME,
};
-// const s3BucketName = configs.ENVIRONMENT === Environments.DEVELOPMENT ? 'staging-0xjs-docs-jsons' : '0xjs-docs-jsons';
-const s3BucketName = '0xjs-docs-jsons';
+const s3BucketName = configs.ENVIRONMENT === Environments.DEVELOPMENT ? 'staging-0xjs-docs-jsons' : '0xjs-docs-jsons';
const docsJsonRoot = `https://s3.amazonaws.com/${s3BucketName}`;
const docsInfoConfig: DocsInfoConfig = {