Expose the matrix APIs directly

This commit is contained in:
Mark Haines 2017-08-04 11:10:49 +01:00
parent fca28dce85
commit dc56c9d14a

View file

@ -84,9 +84,8 @@ func main() {
m.setupConsumers()
m.setupAPIs()
common.SetupHTTPAPI(http.DefaultServeMux, m.api)
log.Fatal(http.ListenAndServe(*httpBindAddr, nil))
// Expose the matrix APIs directly rather than putting them under a /api path.
log.Fatal(http.ListenAndServe(*httpBindAddr, m.api))
}
// A monolith contains all the dendrite components.