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

When forming the URL to retrieve a source map, if it is already an absolute URL then use it as is #909

Merged

Conversation

fusion2004
Copy link
Contributor

@fusion2004 fusion2004 commented Jan 3, 2019

This fixes the issues I found in #908 by testing if a source map URL is absolute before assuming it is relative to the original file.

If it is an absolute URL, it will use it for retrieval directly, otherwise it will use the original code to find a URL for it relative to the original file.

Copy link
Member

@RobbieTheWagner RobbieTheWagner left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@RobbieTheWagner RobbieTheWagner merged commit abe8d0f into emberjs:master Jan 4, 2019
@fusion2004 fusion2004 deleted the fix-absolute-source-map-urls branch January 4, 2019 15:24
cyril-sf pushed a commit to cyril-sf/ember-inspector that referenced this pull request Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants