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

Improved Subdomain Parsing #14

Merged

Conversation

1A3Dev
Copy link
Contributor

@1A3Dev 1A3Dev commented Jan 1, 2025

The change added in #10 doesn't account for domains like amazon.co.uk (it thinks amazon is a subdomain and co.uk is the domain) therefore this MR uses a npm package (parse-domain) to properly parse the subdomains

Copy link

vercel bot commented Jan 1, 2025

Deployment failed with the following error:

Preview deployments are disabled for this project.

@1A3Dev 1A3Dev marked this pull request as draft January 1, 2025 16:00
@1A3Dev 1A3Dev marked this pull request as ready for review January 1, 2025 16:00
Copy link
Owner

@Abdallah-Alwarawreh Abdallah-Alwarawreh left a comment

Choose a reason for hiding this comment

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

Cheers

@Abdallah-Alwarawreh Abdallah-Alwarawreh merged commit 973ba13 into Abdallah-Alwarawreh:main Jan 1, 2025
1 check failed
@1A3Dev 1A3Dev deleted the 1a3/subdomain-fix branch January 2, 2025 13:45
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