add api react library

This commit is contained in:
2021-08-24 21:58:29 +02:00
parent 4f6025759f
commit 3fab933f8c
8 changed files with 21 additions and 63 deletions

View File

@ -21,11 +21,11 @@ func Init() {
AddActorsHandlers()
AddTvshowHandlers()
gws.AddAPINode("video", VideoNode)
gws.AddAPINode("tags", TagNode)
gws.AddAPINode("settings", SettingsNode)
gws.AddAPINode("actor", ActorNode)
gws.AddAPINode("tvshow", TVShowNode)
gws.AddAPINode("video", VideoNode, true)
gws.AddAPINode("tags", TagNode, true)
gws.AddAPINode("settings", SettingsNode, true)
gws.AddAPINode("actor", ActorNode, true)
gws.AddAPINode("tvshow", TVShowNode, true)
// serverinit is blocking
gws.ServerInit(func(id string) (oauth.CustomClientInfo, error) {