mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-02-15 07:24:27 -06:00
set methods to get only
This commit is contained in:
parent
0f80b26b4e
commit
06fa53cbbb
|
@ -166,7 +166,8 @@ func Setup(
|
|||
return Threads(
|
||||
req, device, syncDB, rsAPI, vars["roomId"],
|
||||
)
|
||||
}))
|
||||
})).Methods(http.MethodGet)
|
||||
|
||||
v3mux.Handle("/search",
|
||||
httputil.MakeAuthAPI("search", userAPI, func(req *http.Request, device *userapi.Device) util.JSONResponse {
|
||||
if !cfg.Fulltext.Enabled {
|
||||
|
|
Loading…
Reference in a new issue