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