mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-05-14 20:08:00 +02:00
common: make CORS origins configurable
This commit is contained in:
@@ -85,7 +85,7 @@ namespace Notesnook.API
|
||||
JwtSecurityTokenHandler.DefaultMapInboundClaims = false;
|
||||
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
|
||||
|
||||
services.AddCors();
|
||||
services.AddDefaultCors();
|
||||
|
||||
services.AddDistributedMemoryCache(delegate (MemoryDistributedCacheOptions cacheOptions)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user