Skip to content

A simple Rack app to redirect from one app to another on Heroku.

Notifications You must be signed in to change notification settings

max/heroku-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heroku-redirect

A simple Rack app to redirect from one app to another on Heroku.

Running Locally

$ git clone git@github.com:max/heroku-redirect.git
$ bundle install
$ foreman start
$ echo "REDIRECT_TO=http://example.com" >> .env
$ curl http://localhost:5000

Running Tests

$ foreman run bundle exec ruby test/web_test.rb

Deploying to Heroku

$ heroku create
$ heroku config:set REDIRECT_TO=http://example.com
$ git push heroku master

About

A simple Rack app to redirect from one app to another on Heroku.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages