Skip to content

adding isDomainAdded function #25

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthiaz
Copy link
Contributor

This allows users to detect if they are on a production site that actually has a domain added. Can also be used to detect if a dev environment has a domain.

This allows users to detect if they are on a production site that actually has a domain added.
Can also be used to detect if a dev environment has a domain.
@gmoigneu
Copy link
Contributor

Hey @matthiaz ! Thank you for the PR. I have a hard time finding a use-case for it. Do you have some in mind?

@matthiaz
Copy link
Contributor Author

To check if a domain is actually added.

isProduction is not enough

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