Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed hostnames for staging/production in RACK_ENV block #10

Merged
merged 1 commit into from almost 2 years ago

2 participants

Joost Schuur Tyler Hunt
Joost Schuur

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

Tyler Hunt tylerhunt merged commit a384b25 into from
Tyler Hunt tylerhunt closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 12, 2012
Joost Schuur jschuur Fixed hostnames for staging/production in RACK_ENV block 1c45852
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 README.md
4 README.md
Source Rendered
@@ -82,8 +82,8 @@ canonical host name.
82 82 ``` ruby
83 83 use Rack::CanonicalHost do
84 84 case ENV['RACK_ENV'].to_sym
85   - when :staging then 'example.com'
86   - when :production then 'staging.example.com'
  85 + when :staging then 'staging.example.com'
  86 + when :production then 'example.com'
87 87 end
88 88 end
89 89 ```

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.