Permalink
Browse files

Fixed hostnames for staging/production in RACK_ENV block

  • Loading branch information...
1 parent 457144a commit 1c45852b27cbd8c705e28807ccf3ed8efb4e5860 @jschuur jschuur committed Jul 12, 2012
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
```

0 comments on commit 1c45852

Please sign in to comment.