mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 16:09:01 +08:00
chore: sing-box grpc servicename 应为字符串
This commit is contained in:
parent
c585785c50
commit
9b2209cc8b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.14.222",
|
"version": "2.14.223",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -178,8 +178,8 @@ const grpcParser = (proxy, parsedProxy) => {
|
|||||||
const transport = { type: 'grpc' };
|
const transport = { type: 'grpc' };
|
||||||
if (proxy['grpc-opts']) {
|
if (proxy['grpc-opts']) {
|
||||||
const serviceName = proxy['grpc-opts']['grpc-service-name'];
|
const serviceName = proxy['grpc-opts']['grpc-service-name'];
|
||||||
if (serviceName && serviceName !== '')
|
if (serviceName != null && serviceName !== '')
|
||||||
transport.service_name = serviceName;
|
transport.service_name = `${serviceName}`;
|
||||||
}
|
}
|
||||||
parsedProxy.transport = transport;
|
parsedProxy.transport = transport;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user