-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Abstraxion to fetch config #121
Conversation
🦋 Changeset detectedLatest commit: 2ab0bac The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: Burnt Val <[email protected]>
@@ -87,7 +96,7 @@ export function AbstraxionSignin(): JSX.Element { | |||
} | |||
urlParams.set("redirect_uri", currentUrl); | |||
const queryString = urlParams.toString(); // Convert URLSearchParams to string | |||
window.location.href = `${dashboardUrl}?${queryString}`; | |||
window.location.href = `https://${dashUrl}?${queryString}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dashboard URL might be local, should include the protocol in the passed var
packages/constants/src/index.ts
Outdated
// If mainnet chain-id/network changes be sure to update here. | ||
const DASHBOARD_URLS = { | ||
"xion-mainnet-1": "dashboard.burnt.com", | ||
"xion-testnet-1": "testnet-dashboard.burnt.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"xion-testnet-1": "testnet-dashboard.burnt.com", | |
"xion-testnet-1": "testnet.dashboard.burnt.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make this change but I was under the impression that we wanted to stay away from using too many "." and thus the reason for the hyphenated sub-domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Requested 2 changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.