Skip to content

Commit

Permalink
Fix Host for socket connections
Browse files Browse the repository at this point in the history
  • Loading branch information
Elie Teyssedou committed Apr 9, 2019
1 parent 2730d55 commit 8c4a482
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 @@ -2,7 +2,7 @@ use Mix.Config

config :pong, PongWeb.Endpoint,
http: [port: System.get_env("PORT")],
url: [scheme: "https", host: "phoenix-socket-pong", port: 443],
url: [scheme: "https", host: "phoenix-socket-pong.herokuapp.com", port: 443],
force_ssl: [rewrite_on: [:x_forwarded_proto]],
cache_static_manifest: "priv/static/cache_manifest.json",
secret_key_base: Map.fetch!(System.get_env(), "SECRET_KEY_BASE")
Expand Down

0 comments on commit 8c4a482

Please sign in to comment.