forked from shibao/cannery
change ports back to 4000
This commit is contained in:
parent
48691e669e
commit
f9e66d1336
@ -12,8 +12,8 @@ config :cannery,
|
|||||||
|
|
||||||
# Configures the endpoint
|
# Configures the endpoint
|
||||||
config :cannery, CanneryWeb.Endpoint,
|
config :cannery, CanneryWeb.Endpoint,
|
||||||
url: [host: System.get_env("HOST") || "localhost"],
|
url: [scheme: "https", host: System.get_env("HOST") || "localhost", port: "443"],
|
||||||
http: [port: String.to_integer(System.get_env("PORT") || "80")],
|
http: [port: String.to_integer(System.get_env("PORT") || "4000")],
|
||||||
secret_key_base: "KH59P0iZixX5gP/u+zkxxG8vAAj6vgt0YqnwEB5JP5K+E567SsqkCz69uWShjE7I",
|
secret_key_base: "KH59P0iZixX5gP/u+zkxxG8vAAj6vgt0YqnwEB5JP5K+E567SsqkCz69uWShjE7I",
|
||||||
render_errors: [view: CanneryWeb.ErrorView, accepts: ~w(html json), layout: false],
|
render_errors: [view: CanneryWeb.ErrorView, accepts: ~w(html json), layout: false],
|
||||||
pubsub_server: Cannery.PubSub,
|
pubsub_server: Cannery.PubSub,
|
||||||
|
@ -25,7 +25,7 @@ host = System.get_env("HOST") || "localhost"
|
|||||||
config :cannery, CanneryWeb.Endpoint,
|
config :cannery, CanneryWeb.Endpoint,
|
||||||
url: [scheme: "https", host: host, port: "443"],
|
url: [scheme: "https", host: host, port: "443"],
|
||||||
http: [
|
http: [
|
||||||
port: String.to_integer(System.get_env("PORT") || "80"),
|
port: String.to_integer(System.get_env("PORT") || "4000"),
|
||||||
transport_options: [socket_opts: [:inet6]]
|
transport_options: [socket_opts: [:inet6]]
|
||||||
],
|
],
|
||||||
secret_key_base: secret_key_base,
|
secret_key_base: secret_key_base,
|
||||||
|
Loading…
Reference in New Issue
Block a user