mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
AllowAll cors option for identity server
This commit is contained in:
@ -103,6 +103,7 @@ namespace Bit.Api
|
||||
})
|
||||
.AddInMemoryApiResources(ApiResources.GetApiResources())
|
||||
.AddInMemoryClients(Clients.GetClients());
|
||||
services.AddTransient<ICorsPolicyService, AllowAllCorsPolicyService>();
|
||||
|
||||
if(Environment.IsProduction())
|
||||
{
|
||||
|
Reference in New Issue
Block a user