mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 19:40:05 -07:00
set the max json length (fixes large json response errors)
This commit is contained in:
parent
6fa64f0899
commit
c4380589bc
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,7 @@ using PlexRequests.Store;
|
|||
using PlexRequests.Store.Models;
|
||||
using PlexRequests.Store.Repository;
|
||||
using PlexRequests.UI.Helpers;
|
||||
using Nancy.Json;
|
||||
|
||||
namespace PlexRequests.UI
|
||||
{
|
||||
|
@ -104,6 +105,8 @@ namespace PlexRequests.UI
|
|||
// NotificationService
|
||||
container.Register<INotificationService, NotificationService>().AsSingleton();
|
||||
|
||||
JsonSettings.MaxJsonLength = int.MaxValue;
|
||||
|
||||
SubscribeAllObservers(container);
|
||||
base.ConfigureRequestContainer(container, context);
|
||||
var loc = ServiceLocator.Instance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue