Fix (somehow) picture URL generation issue

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-10-03 15:35:38 +02:00
parent 1ff2c6871e
commit cbb54e2b92
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -12,7 +12,7 @@ config :mobilizon, MobilizonWeb.Endpoint,
], ],
url: [ url: [
host: System.get_env("MOBILIZON_INSTANCE_HOST") || "mobilizon.local", host: System.get_env("MOBILIZON_INSTANCE_HOST") || "mobilizon.local",
port: System.get_env("MOBILIZON_INSTANCE_PORT") || 4000, port: 80,
scheme: "http" scheme: "http"
], ],
debug_errors: true, debug_errors: true,