Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplify

  • Loading branch information...
commit a672f687682dc92f4239f68a920d30fd07806b7f 1 parent 692d270
@robertgaal authored
Showing with 2 additions and 4 deletions.
  1. +1 −1  README.md
  2. +1 −3 config.ru
View
2  README.md
@@ -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
4 config.ru
@@ -1,9 +1,7 @@
require 'sinatra'
-@url = 'http://robertgaal.com'
-
get '*' do
- redirect @url, 301
+ redirect 'http://robertgaal.com', 301
end
run Sinatra::Application
Please sign in to comment.
Something went wrong with that request. Please try again.