mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 01:13:10 -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.setupConsumers()
|
||||||
m.setupAPIs()
|
m.setupAPIs()
|
||||||
|
|
||||||
common.SetupHTTPAPI(http.DefaultServeMux, m.api)
|
// Expose the matrix APIs directly rather than putting them under a /api path.
|
||||||
|
log.Fatal(http.ListenAndServe(*httpBindAddr, m.api))
|
||||||
log.Fatal(http.ListenAndServe(*httpBindAddr, nil))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// A monolith contains all the dendrite components.
|
// A monolith contains all the dendrite components.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue