mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Use a more generic app name
This commit is contained in:
@@ -7,7 +7,7 @@ If you'd like to use a different port in development, you can change it in
|
|||||||
`config/dev.exs`.
|
`config/dev.exs`.
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
config :profilex, Profilex.Web.Endpoint,
|
config :my_app, MyApp.Web.Endpoint,
|
||||||
http: [port: 4444],
|
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.
|
with an environment variable and a fallback port.
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
config :profilex, Profilex.Web.Endpoint,
|
config :my_app, MyApp.Web.Endpoint,
|
||||||
http: [port: System.get_env("PORT") || 4000],
|
http: [port: System.get_env("PORT") || 4000],
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user