Fix streaming handlers for https.
This commit is contained in:
parent
8be663a0a0
commit
728b34b684
@ -183,3 +183,7 @@ func (db *Database) addCollection(id uint64, c collection, collectionState any)
|
|||||||
func (db *Database) Handle(w http.ResponseWriter, r *http.Request) {
|
func (db *Database) Handle(w http.ResponseWriter, r *http.Request) {
|
||||||
db.rep.Handle(w, r)
|
db.rep.Handle(w, r)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (db *Database) RegisterHandlers(mux *http.ServeMux, rootPath string) {
|
||||||
|
db.rep.RegisterHandlers(mux, rootPath)
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user