mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 00:18:31 +00:00
Add /all_topics endpoint
Temporarily not protected with sealing, we'll see how the performance is first.
This commit is contained in:
parent
b4f4a65a68
commit
b108177942
3 changed files with 35 additions and 0 deletions
|
@ -103,6 +103,7 @@ func SetupServerAndHandle(config *ConfigFile, serveMux *http.ServeMux) {
|
|||
serveMux.HandleFunc("/uncached_pub", HTTPBackendUncachedPublish)
|
||||
serveMux.HandleFunc("/cached_pub", HTTPBackendCachedPublish)
|
||||
serveMux.HandleFunc("/get_sub_count", HTTPGetSubscriberCount)
|
||||
serveMux.HandleFunc("/all_topics", HTTPListAllTopics)
|
||||
|
||||
announceForm, err := Backend.secureForm.Seal(url.Values{
|
||||
"startup": []string{"1"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue