aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/utils.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-05-16 04:51:43 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-05-16 04:51:43 +0800
commit184232ba4fe304bb00a3dbbee21972b1ff29736b (patch)
treec3d7840fc37eb0e56e80660e999269c3cde3980f /packages/website/ts/utils/utils.ts
parent0bc338ba421613a0b4768f0c434cc63b8213543f (diff)
downloaddexon-sol-tools-184232ba4fe304bb00a3dbbee21972b1ff29736b.tar.gz
dexon-sol-tools-184232ba4fe304bb00a3dbbee21972b1ff29736b.tar.zst
dexon-sol-tools-184232ba4fe304bb00a3dbbee21972b1ff29736b.zip
Add dogfood configs to website
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r--packages/website/ts/utils/utils.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index bf30f4e04..c3e261ddb 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -308,4 +308,7 @@ export const utils = {
isStaging(): boolean {
return _.includes(window.location.href, configs.DOMAIN_STAGING);
},
+ isDogfood(): boolean {
+ return _.includes(window.location.href, configs.DOMAIN_DOGFOOD);
+ },
};