Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Commit

Permalink
[Minor] Add comments about PowAssent.
Browse files Browse the repository at this point in the history
  • Loading branch information
totorigolo committed Jan 31, 2021
1 parent 56e17c7 commit d6fdeb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ config :pixel_forum, :pow,
routes_backend: PixelForumWeb.Pow.Routes,
messages_backend: PixelForumWeb.Pow.Messages

# Use Mint to support HTTP/2
config :pixel_forum, :pow_assent,
http_adapter: Assent.HTTPAdapter.Mint

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ defmodule PixelForum.MixProject do
{:msgpax, "~> 2.2"},
{:pow, "~> 1.0.21"},
{:pow_assent, "~> 0.4.9"},
{:mint, "~> 1.2"},
{:mint, "~> 1.2"}, # Required to support HTTP/2 in Pow Assent
{:castore, "~> 0.1.8"}, # Required for SSL validation in Pow Assent
]
end
Expand Down

0 comments on commit d6fdeb6

Please sign in to comment.