mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-30 04:52:46 +00:00
unbreak CORS on /capabilities.
fixes https://github.com/vector-im/element-web/issues/15297
This commit is contained in:
parent
63af00d5d5
commit
5bbe73747c
3 changed files with 4 additions and 2 deletions
|
@ -793,7 +793,7 @@ func Setup(
|
|||
}
|
||||
return GetCapabilities(req, rsAPI)
|
||||
}),
|
||||
).Methods(http.MethodGet)
|
||||
).Methods(http.MethodGet, http.MethodOptions)
|
||||
|
||||
// Supplying a device ID is deprecated.
|
||||
r0mux.Handle("/keys/upload/{deviceID}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue