Fix streaming handlers for https.

master v0.6.2
jdl 2023-12-03 20:26:27 +01:00
parent 8be663a0a0
commit 728b34b684
1 changed files with 4 additions and 0 deletions

View File

@ -183,3 +183,7 @@ func (db *Database) addCollection(id uint64, c collection, collectionState any)
func (db *Database) Handle(w http.ResponseWriter, r *http.Request) {
db.rep.Handle(w, r)
}
func (db *Database) RegisterHandlers(mux *http.ServeMux, rootPath string) {
db.rep.RegisterHandlers(mux, rootPath)
}