From 216db2772cfbb562adcd9815c0c42e7cb5c81c1d Mon Sep 17 00:00:00 2001 From: MrX-SNX Date: Thu, 29 Aug 2024 09:28:07 +0100 Subject: [PATCH] Onboard modal fix (#419) * feat: added css for onbroad modal * fix: using staging api for boardroom * wip --- governance/ui/index.html | 29 ++++++++++++++++++++++++++++ governance/ui/src/utils/boardroom.ts | 4 ++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/governance/ui/index.html b/governance/ui/index.html index 797aeab42..25c9e47b6 100644 --- a/governance/ui/index.html +++ b/governance/ui/index.html @@ -20,5 +20,34 @@ document.body.appendChild(script); })(); + diff --git a/governance/ui/src/utils/boardroom.ts b/governance/ui/src/utils/boardroom.ts index df7d39e8c..e1a2571e7 100644 --- a/governance/ui/src/utils/boardroom.ts +++ b/governance/ui/src/utils/boardroom.ts @@ -1,6 +1,6 @@ import { getAddress } from 'ethers/lib/utils'; - -const MAIN_NET_URL = 'https://api.boardroom.info'; +// 'https://api.boardroom.info'; +const MAIN_NET_URL = 'https://staging-api.boardroom.info/'; const STAGING_URL = 'https://staging-api.boardroom.info/'; const BASE_URL = window.location.hostname === 'localhost' ? STAGING_URL : MAIN_NET_URL;