Packages
resp_content_type_plug
0.1.0
A simple Plug to set the content on the response header for all routes.
Current section
Files
Jump to
Current section
Files
resp_content_type_plug
mix.exs
mix.exs
defmodule RespContentTypePlug.MixProject do
use Mix.Project
@github_url "https://github.com/rekki/resp_content_type_plug"
def project do
[
app: :resp_content_type_plug,
name: "RespContentTypePlug",
description: "A simple Plug to set the content on the response header for all routes.",
version: "0.1.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
source_url: @github_url
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:plug, "~> 1.7"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => @github_url}
]
end
end