aboutsummaryrefslogtreecommitdiff
path: root/plugins/CacheBroker
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-03-25 14:25:21 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-03-25 14:25:21 -0400
commitf56566feeeff0441ba8dd22e4ed755fab1ef7e11 (patch)
tree08078e0021b1f25d4ec537eb8225d3f703e522ff /plugins/CacheBroker
parent2027296bb0bd1e72f93c4f470cadca153c7ec2dd (diff)
Defer cors to host/middleware/user code
Diffstat (limited to 'plugins/CacheBroker')
-rw-r--r--plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs b/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs
index b350e73..24ca56c 100644
--- a/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs
+++ b/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs
@@ -92,12 +92,11 @@ namespace VNLib.Plugins.Cache.Broker.Endpoints
private readonly Dictionary<string, ActiveServer> ActiveServers;
//Loosen up protection settings since this endpoint is not desinged for browsers or sessions
+ ///<inheritdoc/>
protected override ProtectionSettings EndpointProtectionSettings { get; } = new()
{
DisableBrowsersOnly = true,
- DisableCrossSiteDenied = true,
- DisableSessionsRequired = true,
- DisableVerifySessionCors = true,
+ DisableSessionsRequired = true
};
public BrokerRegistrationEndpoint(PluginBase plugin, IConfigScope config)