mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
Fix build
This commit is contained in:
parent
536f98b566
commit
f9714f0be0
@ -79,7 +79,11 @@ namespace BTCPayServer.Hosting
|
||||
// StyleSrc = "'self' 'unsafe-inline'",
|
||||
// ScriptSrc = "'self' 'unsafe-inline'"
|
||||
//});
|
||||
}).AddNewtonsoftJson().AddControllersAsServices();
|
||||
})
|
||||
#if !NETCOREAPP21
|
||||
.AddNewtonsoftJson()
|
||||
#endif
|
||||
.AddControllersAsServices();
|
||||
services.TryAddScoped<ContentSecurityPolicies>();
|
||||
services.Configure<IdentityOptions>(options =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user