From ae6a3651f97db7a1af03337a56b048e330ecf057 Mon Sep 17 00:00:00 2001 From: Konstantin Savosteev Date: Tue, 24 Dec 2024 15:15:37 +0200 Subject: [PATCH] fix: change ver --- Directory.Build.props | 2 +- .../Extensions/ApplicationBuilderExtensions.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 4ab3dd3..7b696a1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ - 3.816.10 + 3.816.0 $(VersionSuffix)-$(BuildNumber) diff --git a/src/VirtoCommerce.Xapi.Core/Extensions/ApplicationBuilderExtensions.cs b/src/VirtoCommerce.Xapi.Core/Extensions/ApplicationBuilderExtensions.cs index fb4f797..58730f4 100644 --- a/src/VirtoCommerce.Xapi.Core/Extensions/ApplicationBuilderExtensions.cs +++ b/src/VirtoCommerce.Xapi.Core/Extensions/ApplicationBuilderExtensions.cs @@ -37,8 +37,7 @@ public static IApplicationBuilder UseSchemaGraphQL(this IApplicationBui KeepAliveTimeout = TimeSpan.FromSeconds(10), // pass the desired keep-alive timeout KeepAliveMode = KeepAliveMode.Interval, } - // set the supported sub-protocols to only include the graphql-ws sub-protocol - //options.WebSockets.SupportedWebSocketSubProtocols = ["graphql-ws"]; + // can set supported sub-protocols to only include desired protocols with options.WebSockets.SupportedWebSocketSubProtocols = ["graphql-ws"]; }); if (schemaIntrospectionEnabled)