Skip to content

Commit

Permalink
Add start_server opt on README server example (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
avillen authored Nov 27, 2023
1 parent 59b984c commit 3122296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ defmodule HelloworldApp do
def start(_type, _args) do
children = [
# ...
{GRPC.Server.Supervisor, endpoint: Helloworld.Endpoint, port: 50051}
{GRPC.Server.Supervisor, endpoint: Helloworld.Endpoint, port: 50051, start_server: true}
]

opts = [strategy: :one_for_one, name: YourApp]
Expand Down

0 comments on commit 3122296

Please sign in to comment.