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

[URL] Fix url utility throwing exception #59

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ashakir96
Copy link

Fixes #58

app/routes/url.tsx Outdated Show resolved Hide resolved
@@ -28,8 +28,17 @@ enum Action {
DECODE = "Decode",
}

//the usage of this function expects a protocol in the url, so we need to add the protocol if its not in the text
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: comments that document a function generally look like

/**
 * ...
*/

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.

URL utility throws exception when url does not start with http
2 participants