Skip to content

Commit

Permalink
Added more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kotva006 committed May 3, 2024
1 parent db8ff6a commit 4c3fbe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/dotcom_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ defmodule DotcomWeb.Router do
alias DotcomWeb.StaticPage

pipeline :secure do
Logger.info("THIS IS THE SECURE PIPE ################")

if force_ssl = Application.compile_env(:dotcom, :secure_pipeline)[:force_ssl] do
Logger.warning("Force SSL is Called")
Logger.info("Force SSL is Called")
plug(Plug.SSL, force_ssl)
end
end
Expand Down

0 comments on commit 4c3fbe8

Please sign in to comment.