Skip to content
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

bitECS: Fix teleport link #6260

Merged
merged 2 commits into from
Sep 15, 2023
Merged

bitECS: Fix teleport link #6260

merged 2 commits into from
Sep 15, 2023

Conversation

keianhzo
Copy link
Contributor

Fixes #6255

This PR fixes the teleport links by updaitng the anchor to a url. This code was copied from what we were already doing in the AFrame media loader:
https://github.com/mozilla/hubs/blob/25202db4f505e60ec18cb712cd57d3f92d7a79bf/src/components/media-loader.js#L355-L358

@takahirox takahirox changed the title Fix teleport link bitECS: Fix teleport link Sep 15, 2023
@takahirox takahirox added the P1 Address as quickly as possible label Sep 15, 2023
src/utils/media-utils.js Outdated Show resolved Hide resolved
Copy link
Contributor

@takahirox takahirox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tested locally yet but the change looks correct

@keianhzo keianhzo merged commit a1d31fa into master Sep 15, 2023
@keianhzo keianhzo deleted the bitecs-fix-teleport-link branch September 15, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-loader P1 Address as quickly as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bitECS: Broken broken teleport link image
3 participants