mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
fix seriaslizer
This commit is contained in:
parent
23aed49a79
commit
0be909957b
1 changed files with 7 additions and 1 deletions
|
@ -115,7 +115,13 @@ namespace BTCPayServer.Hosting
|
|||
services.AddBTCPayServer(Configuration, Logs);
|
||||
services.AddProviderStorage();
|
||||
services.AddSession();
|
||||
services.AddSignalR().AddNewtonsoftJsonProtocol();
|
||||
services.AddSignalR().AddNewtonsoftJsonProtocol(options =>
|
||||
{
|
||||
NBitcoin.JsonConverters.Serializer.RegisterFrontConverters(
|
||||
options.PayloadSerializerSettings);
|
||||
options.PayloadSerializerSettings.Converters.Add(new BTCPayServer.Lightning.JsonConverters.LightMoneyJsonConverter());
|
||||
|
||||
});
|
||||
services.AddFido2(options =>
|
||||
{
|
||||
options.ServerName = "BTCPay Server";
|
||||
|
|
Loading…
Add table
Reference in a new issue