diff --git a/apps/content/lib/content/application.ex b/apps/content/lib/content/application.ex index 1891b1a7..245bf8ea 100644 --- a/apps/content/lib/content/application.ex +++ b/apps/content/lib/content/application.ex @@ -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} ] diff --git a/apps/content/test/content/controllers/page_controller_test.exs b/apps/content/test/content/controllers/page_controller_test.exs index 262608cd..bc1dbddc 100644 --- a/apps/content/test/content/controllers/page_controller_test.exs +++ b/apps/content/test/content/controllers/page_controller_test.exs @@ -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 diff --git a/config/config.exs b/config/config.exs index d339e91e..956f60b1 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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