mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
correct cors policy for events
This commit is contained in:
parent
eea119a4b6
commit
e9f254a860
@ -105,7 +105,7 @@ namespace Bit.Events
|
||||
app.UseDefaultMiddleware(env);
|
||||
|
||||
// Add Cors
|
||||
app.UseCors("All");
|
||||
app.UseCors(policy => policy.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader().AllowCredentials());
|
||||
|
||||
// Add authentication to the request pipeline.
|
||||
app.UseAuthentication();
|
||||
|
Loading…
Reference in New Issue
Block a user