set the max json length (fixes large json response errors)

pull/193/head
Drewster727 9 years ago
parent 6fa64f0899
commit c4380589bc

@ -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…
Cancel
Save