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

Spaces: Support Sub-domains in BYO Domains #1007

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

zspencer
Copy link
Member

@zspencer zspencer commented Dec 21, 2022

#23
#74

When I was testing #74 on https://beta.zeespencer.com/ I discovered that it didn't quite work, and was nesting sub-domains (i.e. beta.zeespencer.com became beta.beta.zeespencer.com)

This is likely because the domain option for url_for doesn't actually do the whole domain; just the TLD!

Womp womp!

#23
#74

Apparently `domain` doesn't uhh... quite work. `host` does!
Copy link
Member

@anaulin anaulin left a comment

Choose a reason for hiding this comment

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

Thanks for testing and fixing! 🛠️

@zspencer zspencer merged commit 79ad759 into main Dec 22, 2022
@zspencer zspencer deleted the spaces/byo-domains/support-sub-domains branch December 22, 2022 00:07
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