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

Add a without hash/fragment utility #199

Closed
1 task
prazdevs opened this issue Dec 28, 2023 · 2 comments
Closed
1 task

Add a without hash/fragment utility #199

prazdevs opened this issue Dec 28, 2023 · 2 comments

Comments

@prazdevs
Copy link

Describe the feature

Hi :)

This is somewhat related to #190 but I'd like a utility function to remove the hash/fragment from a URL (usually to get info from fragment and redirect afterwards).

I could eventually think of proposing a PR for that if the feature can be considered :)

Additional information

  • Would you be willing to help implement this feature?
@IgnisDa
Copy link
Contributor

IgnisDa commented Dec 30, 2023

The withFragment function that I made a PR already supports this if you pass it an empty string (or undefined or null).

@pi0 pi0 closed this as completed in 11404da Feb 5, 2024
@pi0
Copy link
Member

pi0 commented Feb 5, 2024

withoutFragment will be added to next release as well.

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

No branches or pull requests

3 participants