From 0194520d786b96ff4cab2ccbb69615f86fb0aed2 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Fri, 10 Mar 2017 21:33:03 -0600 Subject: [PATCH] Use a more generic app name --- phoenix/specifying-the-server-port.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phoenix/specifying-the-server-port.md b/phoenix/specifying-the-server-port.md index 7401ffa..bb9dba3 100644 --- a/phoenix/specifying-the-server-port.md +++ b/phoenix/specifying-the-server-port.md @@ -7,7 +7,7 @@ If you'd like to use a different port in development, you can change it in `config/dev.exs`. ```elixir -config :profilex, Profilex.Web.Endpoint, +config :my_app, MyApp.Web.Endpoint, http: [port: 4444], ... ``` @@ -16,7 +16,7 @@ Alternatively, you can allow it to be configurable from the command line with an environment variable and a fallback port. ```elixir -config :profilex, Profilex.Web.Endpoint, +config :my_app, MyApp.Web.Endpoint, http: [port: System.get_env("PORT") || 4000], ... ```