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

Remove hard-coded base host_parts.length of 2 and add support for site subdomains #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

paulie4
Copy link
Contributor

@paulie4 paulie4 commented Jun 25, 2013

I removed the hard-coded value of host_parts.length > 2 for has_subdomain?(), and I added support for git repos whose code is used for additional subdomains, e.g. example.com and api.example.com. I was also having problems getting Divergence to work behind a proxy (which is handling SSL), so now Rack::Proxy support a backend_uri option (ncr/rack-proxy#15), which I added to Divergence in fix_environment!().

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.

1 participant