mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-11 16:17:31 +02:00
REST API implement Clipboard.
This commit is contained in:
parent
963d210507
commit
894c0f28dc
2 changed files with 51 additions and 0 deletions
|
@ -43,5 +43,10 @@ func (h *RoomHandler) Router(
|
|||
r.With(adminsOnly).Get("/configurations", h.ScreenConfigurationsList)
|
||||
})
|
||||
|
||||
r.With(adminsOnly).Route("/clipboard", func(r chi.Router) {
|
||||
r.Get("/", h.ClipboardRead)
|
||||
r.Post("/", h.ClipboardWrite)
|
||||
})
|
||||
|
||||
return r
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue