Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed hostnames for staging/production in RACK_ENV block #10

Merged
merged 1 commit into from

2 participants

@jschuur

I just swapped staging.example.com and example.com from the Readme.

@tylerhunt tylerhunt merged commit a384b25 into tylerhunt:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 12, 2012
  1. @jschuur
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -82,8 +82,8 @@ canonical host name.
``` ruby
use Rack::CanonicalHost do
case ENV['RACK_ENV'].to_sym
- when :staging then 'example.com'
- when :production then 'staging.example.com'
+ when :staging then 'staging.example.com'
+ when :production then 'example.com'
end
end
```
Something went wrong with that request. Please try again.