mirror of
https://github.com/NicolasConstant/BirdsiteLive
synced 2025-06-05 21:49:16 +02:00
fix nodeinfo 2.0
This commit is contained in:
@ -57,14 +57,19 @@ namespace BirdsiteLive.Controllers
|
|||||||
},
|
},
|
||||||
software = new Software()
|
software = new Software()
|
||||||
{
|
{
|
||||||
name = "BirdsiteLive",
|
name = "birdsitelive",
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
},
|
},
|
||||||
protocols = new []
|
protocols = new []
|
||||||
{
|
{
|
||||||
"activitypub"
|
"activitypub"
|
||||||
},
|
},
|
||||||
openRegistrations = false
|
openRegistrations = false,
|
||||||
|
services = new Services()
|
||||||
|
{
|
||||||
|
inbound = new object[0],
|
||||||
|
outbound = new object[0]
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return new JsonResult(nodeInfo);
|
return new JsonResult(nodeInfo);
|
||||||
@ -164,7 +169,7 @@ namespace BirdsiteLive.Controllers
|
|||||||
public Usage usage { get; set; }
|
public Usage usage { get; set; }
|
||||||
public bool openRegistrations { get; set; }
|
public bool openRegistrations { get; set; }
|
||||||
public Services services { get; set; }
|
public Services services { get; set; }
|
||||||
public object metadata { get; set; }
|
//public object metadata { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Services
|
public class Services
|
||||||
|
Reference in New Issue
Block a user