plug_teapot

A plug that detects unwanted requests and returns some tea!


License
MPL-2.0

Documentation

Teapot

Share some tea with friends when they ask for the most ridiculous of paths.

Installation

If available in Hex, the package can be installed by adding plug_teapot to your list of dependencies in mix.exs:

def deps do
  [
    {:plug_teapot, "~> 0.1.1"}
  ]
end

Add it to your Plug pipeline:

defmodule MyApp do
  use Plug.Builder

  use PlugTeapot
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/teapot.