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

Warn when including transfer protocol in include/exclude domains #12

Merged
merged 4 commits into from
Jul 19, 2021

Conversation

ReubenJ
Copy link
Contributor

@ReubenJ ReubenJ commented Sep 28, 2020

Checks include and exclude domain strings and checks whether any of them start with http://, https:// or some form of the two and console.warn()s if they do.

This may be beyond the scope of what you would like this package to take care of, but when I was using the package I accidentally pasted a complete URL to the includeDomains array, and having this warning would've saved me some time troubleshooting.

@derrickreimer derrickreimer merged commit 81154e4 into derrickreimer:master Jul 19, 2021
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