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

Handle relative URLs #224

Merged
merged 1 commit into from
Feb 12, 2021
Merged

Handle relative URLs #224

merged 1 commit into from
Feb 12, 2021

Conversation

DarthHater
Copy link
Member

This handles relative URLs

This pull request makes the following changes:

  • Constructs a new URL using the reportHtmlUrl and the host for IQ Server, returns the href property for it

Approach stolen from: https://stackoverflow.com/a/16301947/338597

new URL will ignore the provided base if the first URL is absolute, voila!

cc @bhamail / @DarthHater / @allenhsieh / @ken-duck

Copy link
Contributor

@ButterB0wl ButterB0wl left a comment

Choose a reason for hiding this comment

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

works, has a url now:
image

@ButterB0wl ButterB0wl merged commit c2e192c into main Feb 12, 2021
@ButterB0wl ButterB0wl deleted the ReportURL branch February 12, 2021 18:41
brent-spiner pushed a commit that referenced this pull request Feb 12, 2021
## [4.0.24](v4.0.23...v4.0.24) (2021-02-12)

### Bug Fixes

* Handle relative URLs ([#224](#224)) ([c2e192c](c2e192c))
@brent-spiner
Copy link

🎉 This PR is included in version 4.0.24 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants