Skip to content

Commit

Permalink
Removed unless check
Browse files Browse the repository at this point in the history
  • Loading branch information
kotva006 committed May 6, 2024
1 parent 24f08b4 commit d958044
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ import Config
config :dotcom, :cache, Dotcom.Cache.Multilevel
config :dotcom, :trip_plan_feedback_cache, Dotcom.Cache.TripPlanFeedback.Cache

unless System.get_env("PORT") do
# configured separately so that we can have the health check not require
# SSL
config :dotcom, :secure_pipeline,
force_ssl: [
host: nil,
rewrite_on: [:x_forwarded_proto]
]
end
# configured separately so that we can have the health check not require
# SSL
config :dotcom, :secure_pipeline,
force_ssl: [
host: nil,
rewrite_on: [:x_forwarded_proto]
]

0 comments on commit d958044

Please sign in to comment.