Repository is archived
No commit activity in last 3 years
No release in over 3 years
Rack middleware to prevent loading from `*.heroku.com` / `*.herokuapp.com` addresses by serving default Heroku 404 page for 'App not found'. Use in combination with custom domains.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 2.0, >= 2.0.6
 Project Readme

Rack::HerokuNoSuchApp

Rack middleware to prevent loading from *.heroku.com / *.herokuapp.com addresses by serving default Heroku 404 page for "App not found". Use in combination with custom domains.

Usage

require "rack/heroku/no-such-app"

use Rack::Heroku::NoSuchApp

Including this in the config.ru file of your Rack application will respond to requests for *.herokuapp.com (or redirected from *.heroku.com) with the following 404 page:

Heroku | No such app

There is no app configured at that hostname. Perhaps the app owner has renamed it, or you mistyped the URL.

License

rack-heroku-no-such-app is available under the MIT license. See the LICENSE file for more info.