fix: Adjust endpoint settings
This commit is contained in:
parent
b6d926a111
commit
47369a937a
3 changed files with 5 additions and 2 deletions
|
@ -10,7 +10,7 @@ defmodule Content.Application do
|
|||
# Start the Telemetry supervisor
|
||||
Content.Telemetry,
|
||||
# Start the Endpoint (http/https)
|
||||
# Content.Endpoint
|
||||
Content.Endpoint
|
||||
# Start a worker by calling: Content.Worker.start_link(arg)
|
||||
# {Content.Worker, arg}
|
||||
]
|
||||
|
|
|
@ -3,6 +3,6 @@ defmodule Content.PageControllerTest do
|
|||
|
||||
test "GET /", %{conn: conn} do
|
||||
conn = get(conn, "/")
|
||||
assert html_response(conn, 200) =~ "Welcome to Phoenix!"
|
||||
assert html_response(conn, 200)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,6 +5,9 @@ config :core, router_forwards: [Content.Router]
|
|||
config :content,
|
||||
generators: [context_app: false]
|
||||
|
||||
config :content, Content.Endpoint,
|
||||
server: false
|
||||
|
||||
import_config "../apps/*/config/config.exs"
|
||||
|
||||
# Configures Elixir's Logger
|
||||
|
|
Loading…
Reference in a new issue