mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
grpc: Replace environment variables in listening address.
This commit is contained in:
parent
6c62f9caae
commit
b47a112e7e
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ type GrpcServer struct {
|
|||
|
||||
func NewGrpcServer(config *goconf.ConfigFile) (*GrpcServer, error) {
|
||||
var listener net.Listener
|
||||
if addr, _ := config.GetString("grpc", "listen"); addr != "" {
|
||||
if addr, _ := GetStringOptionWithEnv(config, "grpc", "listen"); addr != "" {
|
||||
var err error
|
||||
listener, err = net.Listen("tcp", addr)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue