Permalink
Browse files

Simplify

  • Loading branch information...
robertgaal committed Jan 17, 2013
1 parent 692d270 commit a672f687682dc92f4239f68a920d30fd07806b7f
Showing with 2 additions and 4 deletions.
  1. +1 −1 README.md
  2. +1 −3 config.ru
View
@@ -3,7 +3,7 @@ domainpark
A tiny app that let's you park your domain names at Heroku.
-1. Change the URL in config.yml to your domain name.
+1. Change the URL in config.ru to your domain name.
2. Create a domain park app on Heroku, and push this code to it.
3. [Add custom domains to the app](https://devcenter.heroku.com/articles/custom-domains#heroku-setup).
4. [Change your DNS setting of the domain you'd like to point to Heroku](https://devcenter.heroku.com/articles/custom-domains#dns-setup).
View
@@ -1,9 +1,7 @@
require 'sinatra'
-@url = 'http://robertgaal.com'
-
get '*' do
- redirect @url, 301
+ redirect 'http://robertgaal.com', 301
end
run Sinatra::Application

0 comments on commit a672f68

Please sign in to comment.