fix: Adjust endpoint settings

This commit is contained in:
Robert Prehn 2020-07-05 13:56:21 -05:00
parent b6d926a111
commit 47369a937a
3 changed files with 5 additions and 2 deletions

View file

@ -10,7 +10,7 @@ defmodule Content.Application do
# Start the Telemetry supervisor # Start the Telemetry supervisor
Content.Telemetry, Content.Telemetry,
# Start the Endpoint (http/https) # Start the Endpoint (http/https)
# Content.Endpoint Content.Endpoint
# Start a worker by calling: Content.Worker.start_link(arg) # Start a worker by calling: Content.Worker.start_link(arg)
# {Content.Worker, arg} # {Content.Worker, arg}
] ]

View file

@ -3,6 +3,6 @@ defmodule Content.PageControllerTest do
test "GET /", %{conn: conn} do test "GET /", %{conn: conn} do
conn = get(conn, "/") conn = get(conn, "/")
assert html_response(conn, 200) =~ "Welcome to Phoenix!" assert html_response(conn, 200)
end end
end end

View file

@ -5,6 +5,9 @@ config :core, router_forwards: [Content.Router]
config :content, config :content,
generators: [context_app: false] generators: [context_app: false]
config :content, Content.Endpoint,
server: false
import_config "../apps/*/config/config.exs" import_config "../apps/*/config/config.exs"
# Configures Elixir's Logger # Configures Elixir's Logger