mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
backward compatibility.
This commit is contained in:
parent
2d11b4fa56
commit
1e479dc03f
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user