mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 18:48:14 -05:00
fix: 修复meta 的vless grpc订阅下发错误
This commit is contained in:
parent
65fe7682ff
commit
f6ac12ee65
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@ -7,7 +7,7 @@ name: Docker
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "dev" ]
|
||||||
# Publish semver tags as releases.
|
# Publish semver tags as releases.
|
||||||
tags: [ 'v*.*.*' ]
|
tags: [ 'v*.*.*' ]
|
||||||
|
|
||||||
|
@ -232,8 +232,8 @@ class ClashMeta
|
|||||||
}
|
}
|
||||||
if ($server['network'] === 'grpc') {
|
if ($server['network'] === 'grpc') {
|
||||||
$array['network'] = 'grpc';
|
$array['network'] = 'grpc';
|
||||||
if ($server['networkSettings']) {
|
if ($server['network_settings']) {
|
||||||
$grpcSettings = $server['networkSettings'];
|
$grpcSettings = $server['network_settings'];
|
||||||
$array['grpc-opts'] = [];
|
$array['grpc-opts'] = [];
|
||||||
if (isset($grpcSettings['serviceName'])) {
|
if (isset($grpcSettings['serviceName'])) {
|
||||||
$array['grpc-opts']['grpc-service-name'] = $grpcSettings['serviceName'];
|
$array['grpc-opts']['grpc-service-name'] = $grpcSettings['serviceName'];
|
||||||
|
Loading…
Reference in New Issue
Block a user