Skip to content

Commit

Permalink
allow-local-unix-socket
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksanford committed Feb 10, 2025
1 parent 863f946 commit 87e9407
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/grpc/server/adapters/cowboy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ defmodule GRPC.Server.Adapters.Cowboy do
:undefined ->
raise "undefined address for ranch server"

:local ->
"local"

addr ->
"#{:inet.ntoa(addr)}:#{port}"
end
Expand Down

0 comments on commit 87e9407

Please sign in to comment.