Skip to content

Conversation

@wallstop
Copy link
Contributor

Overview

This is the first of a few PRs that helped stabilize / improve this app in Windows.

This change centralizes the URL normalization, makes it slightly more robust (errors during normalization will cause the URL to be returned), and pipes it through to all places that touch URLs.

Now, if someone is at https://patreon.com/ and manually tries to go to https://patreon.com (no trailing slash), nothing should happen.

This is important, for me, because page navigation is quite slow and I manually bumble through the URLs trying to get things to work.

"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.0.tgz",
"integrity": "sha512-ClIbNe36lawluuvq3+YYhnIN2CELi+6q8NpnM7PYp4hBn/TatfboPgVSm2rwKRfnV2M+Ty9GWDFI64KEe+kysA==",
"license": "MIT",
"peer": true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll revert all of these, not sure what happened here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmmm I did a a full re-generate of the package-lock.json, happy to do whatever you want with this, I'm not a TS/JS wizard.

Simplification

Revert

Revert package-lock.json
@wallstop wallstop force-pushed the feature/url-normalization branch from 4763ae0 to c97114d Compare November 17, 2025 18:30
@patrickkfkan patrickkfkan changed the base branch from master to next December 3, 2025 12:15
@patrickkfkan patrickkfkan merged commit b000056 into patrickkfkan:next Dec 4, 2025
@patrickkfkan
Copy link
Owner

Thanks for your contribution!

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