From 6e5037aacc594dbc4ba8e6c3f1824844c09263dd Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Wed, 6 Sep 2023 19:53:23 -0500
Subject: Make BreadCrumbs domain agnostic

---
 utils/env.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 utils/env.tsx

(limited to 'utils/env.tsx')

diff --git a/utils/env.tsx b/utils/env.tsx
new file mode 100644
index 0000000..1894c1b
--- /dev/null
+++ b/utils/env.tsx
@@ -0,0 +1,9 @@
+import assert from './assert';
+
+const DISPLAY_DOMAIN = process.env.DISPLAY_DOMAIN;
+
+assert(DISPLAY_DOMAIN !== undefined, 'Please set DISPLAY_DOMAIN');
+
+export {
+  DISPLAY_DOMAIN
+};
-- 
cgit v1.2.3

