Skip to content

Commit

Permalink
0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tolyo committed Feb 26, 2024
1 parent 8ae7293 commit 5950207
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/nitroux/plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ defmodule Nitroux.Plug do
_ -> data
end

%{conn | resp_headers: [{"content-type", "text/html"}]}
conn
|> put_resp_header("content-type", "text/html")
|> resp(conn.status || 200, data)
end
end
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Nitroux.MixProject do
def project do
[
app: :nitroux,
version: "0.4.3",
version: "0.4.4",
elixir: "~> 1.13",
name: "nitroux",
description: description(),
Expand Down

0 comments on commit 5950207

Please sign in to comment.