backward compatibility.

This commit is contained in:
Miroslav Šedivý 2021-01-28 23:59:51 +01:00
parent 2d11b4fa56
commit 1e479dc03f

View File

@ -38,9 +38,9 @@ func (h *RoomHandler) Route(r chi.Router) {
})
r.With(auth.HostsOnly).Route("/clipboard", func(r chi.Router) {
r.Get("/", h.clipboardGetPlainText)
r.Post("/", h.clipboardSetPlainText)
r.Get("/targets", h.clipboardGetTargets)
r.Get("/text", h.clipboardGetPlainText)
r.Post("/text", h.clipboardSetPlainText)
r.Get("/html", h.clipboardGetRichText)
r.Post("/html", h.clipboardSetRichText)
})