mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 13:16:16 +00:00
caps: add server element
This commit is contained in:
parent
1d75164aaf
commit
f963f8d173
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@ namespace Jackett.Models
|
|||
var xdoc = new XDocument(
|
||||
new XDeclaration("1.0", "UTF-8", null),
|
||||
new XElement("caps",
|
||||
new XElement("server",
|
||||
new XAttribute("title", "Jackett")
|
||||
),
|
||||
new XElement("searching",
|
||||
new XElement("search",
|
||||
new XAttribute("available", SearchAvailable ? "yes" : "no"),
|
||||
|
|
Loading…
Reference in a new issue