Skip to content

Commit

Permalink
chore: sing-box grpc servicename 应为字符串
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Feb 17, 2024
1 parent c585785 commit 0cf6572
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/core/proxy-utils/producers/sing-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const grpcParser = (proxy, parsedProxy) => {
if (proxy['grpc-opts']) {
const serviceName = proxy['grpc-opts']['grpc-service-name'];
if (serviceName && serviceName !== '')
transport.service_name = serviceName;
transport.service_name = `${serviceName}`;
}
parsedProxy.transport = transport;
};
Expand Down

0 comments on commit 0cf6572

Please sign in to comment.