diff options
Diffstat (limited to 'plugins/ObjectCacheServer')
-rw-r--r-- | plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs | 4 | ||||
-rw-r--r-- | plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs b/plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs index 3930f90..97061b3 100644 --- a/plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs +++ b/plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs @@ -48,11 +48,11 @@ namespace VNLib.Data.Caching.ObjectCache.Server private readonly Task<IPAddress[]> BrokerIpList; private readonly PluginBase Pbase; + ///<inheritdoc/> protected override ProtectionSettings EndpointProtectionSettings { get; } = new() { DisableBrowsersOnly = true, - DisableSessionsRequired = true, - DisableVerifySessionCors = true + DisableSessionsRequired = true }; public BrokerHeartBeat(Func<string> token, ManualResetEvent keepaliveSet, Uri brokerUri, PluginBase pbase) diff --git a/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs b/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs index 6517537..2f896bc 100644 --- a/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs +++ b/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs @@ -75,11 +75,11 @@ namespace VNLib.Data.Caching.ObjectCache.Server public CacheConfiguration CacheConfig { get; } //Loosen up protection settings + ///<inheritdoc/> protected override ProtectionSettings EndpointProtectionSettings { get; } = new() { DisableBrowsersOnly = true, - DisableSessionsRequired = true, - DisableCrossSiteDenied = true + DisableSessionsRequired = true }; public ConnectEndpoint(PluginBase plugin, IConfigScope config) |