mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-10 16:33:11 -06:00
Expose the matrix APIs directly
This commit is contained in:
parent
fca28dce85
commit
dc56c9d14a
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue