Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Farskid/sta 630 Show the complete url in the embed code #278

Merged
merged 3 commits into from
Sep 27, 2021

Conversation

farskid
Copy link
Collaborator

@farskid farskid commented Sep 24, 2021

No description provided.

@farskid farskid self-assigned this Sep 24, 2021
@changeset-bot
Copy link

changeset-bot bot commented Sep 24, 2021

⚠️ No Changeset found

Latest commit: 8e0b2de

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Sep 24, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/statelyai/xstate-viz/DyMcsP9XE9UkRa3W4bk4Dznh9dfH
✅ Preview: https://xstate-viz-git-farskid-sta-630-show-the-comple-5e3fff-statelyai.vercel.app

[Deployment for 8e0b2de failed]

@mattpocock
Copy link
Contributor

CI is failing

@farskid What bug does this fix?

@farskid
Copy link
Collaborator Author

farskid commented Sep 24, 2021

CI is failing

@farskid What bug does this fix?

The current URL inside the embed code is relative /viz/embed/.... This PR changes that to be an absolute url based on window.location.origin.

@farskid farskid merged commit cd128a1 into dev Sep 27, 2021
@farskid farskid deleted the farskid/sta-630-show-the-complete-url-in-the-embed-code branch September 27, 2021 08:27
@github-actions github-actions bot mentioned this pull request Nov 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants