Add support for server notices

This commit is contained in:
kaso17
2017-02-27 12:19:36 +01:00
parent 799d435f2a
commit 1f97d543df
3 changed files with 41 additions and 6 deletions

View File

@@ -319,6 +319,7 @@ namespace Jackett.Controllers
try
{
var cfg = new JObject();
cfg["notices"] = JToken.FromObject(serverService.notices);
cfg["port"] = serverService.Config.Port;
cfg["external"] = serverService.Config.AllowExternal;
cfg["api_key"] = serverService.Config.APIKey;