mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
nmh: fix port detecting logic
This commit is contained in:
parent
728ec8d2a3
commit
e7bacd6897
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ func getOpenPorts() (map[string][]string, error) {
|
|||
errDetectGateway, errDetectGrpcWeb error
|
||||
serviceDetected bool
|
||||
)
|
||||
if grpcWebPort == "" {
|
||||
if gatewayPort == "" {
|
||||
if serviceDetected, errDetectGateway = isFileGateway(port); serviceDetected {
|
||||
gatewayPort = port
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue