Skip to content

Commit

Permalink
use ssl for DB connection on Heroku #53
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Mar 13, 2022
1 parent 6129fa1 commit f6e1c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ config :logger, level: :debug
# had to add this because
dbssl = if System.get_env("HEROKU"), do: true, else: false

config :auth, Auth.Repo,
config :app, App.Repo,
ssl: dbssl,
url: System.get_env("DATABASE_URL"),
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
Expand Down

0 comments on commit f6e1c3f

Please sign in to comment.