mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 03:13:11 -06:00
Make trailing slash on server key optional
Cherry-picked from 7e861b60fbd721b374ec929926b14e57dc60ec41 Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
parent
0ed2dd0b15
commit
44176c2bf5
|
|
@ -64,6 +64,7 @@ func Setup(
|
|||
// {keyID} argument and always return a response containing all of the keys.
|
||||
v2keysmux.Handle("/server/{keyID}", localKeys).Methods(http.MethodGet)
|
||||
v2keysmux.Handle("/server/", localKeys).Methods(http.MethodGet)
|
||||
v2keysmux.Handle("/server", localKeys).Methods(http.MethodGet)
|
||||
|
||||
v1fedmux.Handle("/send/{txnID}", common.MakeFedAPI(
|
||||
"federation_send", cfg.Matrix.ServerName, keys,
|
||||
|
|
|
|||
Loading…
Reference in a new issue