Skip to content

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

Open
paulie4 wants to merge 2 commits intolayervault:masterfrom
paulie4:master
Open

Remove hard-coded base host_parts.length of 2 and add support for site subdomains#16
paulie4 wants to merge 2 commits intolayervault:masterfrom
paulie4:master

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