mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
correct cors policy for events
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user