Skip to content

Commit

Permalink
fix(config): remove endpoint dispatch config
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen authored and bklebe committed Aug 16, 2024
1 parent f069d8e commit 79ca80f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,6 @@ if config_env() == :prod do
protocol_options: [
max_header_value_length: 16_384,
max_request_line_length: 16_384
],
# dispatch websockets but don't dispatch any other URLs, to avoid parsing invalid URLs
# see https://hexdocs.pm/phoenix/Phoenix.Endpoint.CowboyHandler.html
dispatch: [
{:_,
[
{:_, Phoenix.Endpoint.Cowboy2Handler, {DotcomWeb.Endpoint, []}}
]}
]
],
url: [host: host, scheme: "https", port: 443],
Expand Down

0 comments on commit 79ca80f

Please sign in to comment.