diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9f318fe..ce422a0 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -7,7 +7,7 @@ name: Docker on: push: - branches: [ "master" ] + branches: [ "dev" ] # Publish semver tags as releases. tags: [ 'v*.*.*' ] diff --git a/app/Protocols/ClashMeta.php b/app/Protocols/ClashMeta.php index 32fd00d..13874db 100644 --- a/app/Protocols/ClashMeta.php +++ b/app/Protocols/ClashMeta.php @@ -232,8 +232,8 @@ class ClashMeta } if ($server['network'] === 'grpc') { $array['network'] = 'grpc'; - if ($server['networkSettings']) { - $grpcSettings = $server['networkSettings']; + if ($server['network_settings']) { + $grpcSettings = $server['network_settings']; $array['grpc-opts'] = []; if (isset($grpcSettings['serviceName'])) { $array['grpc-opts']['grpc-service-name'] = $grpcSettings['serviceName'];