Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (19 sloc) 706 Bytes

Heroku SOPA

Quickily turn your Heroku app in and out of SOPA protest mode.

Internally it uses the Custom Error Pages add-on to make your app render a 503 response containing a protest instead of your regular HTML.

Keep in mind it will override any existing MAINTENANCE_PAGE_URL on the app.

Usage

$ heroku plugins:install git@github.com:pedro/heroku-sopa.git
heroku-sopa installed

$ heroku sopa:on
SOPA protest is now enabled

$ heroku sopa:off
SOPA protest disabled

About

Written by Pedro Belo. Thanks Caley Woods for the idea!

Something went wrong with that request. Please try again.