mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-20 04:27:11 +02:00
backward compatibility.
This commit is contained in:
parent
2d11b4fa56
commit
1e479dc03f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue