mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-27 02:25:40 +00:00
chore: update runtime.exs
This commit is contained in:
parent
a424f11cb4
commit
2ec74495a4
1 changed files with 3 additions and 3 deletions
|
|
@ -22,9 +22,9 @@ end
|
|||
|
||||
port = String.to_integer(System.get_env("PORT", "8080"))
|
||||
|
||||
if config_env() != :prod do
|
||||
config :spazio_solazzo, SpazioSolazzoWeb.Endpoint, http: [port: port]
|
||||
|
||||
if config_env() == :prod do
|
||||
else
|
||||
database_url =
|
||||
System.get_env("DATABASE_URL") ||
|
||||
raise """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue