mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-24 20:17:58 +02:00
generate screenshot using Xlib.
This commit is contained in:
parent
7ff6ada205
commit
afd3dd2f56
8 changed files with 110 additions and 1 deletions
|
@ -61,7 +61,8 @@ func (h *RoomHandler) Route(r chi.Router) {
|
|||
})
|
||||
|
||||
r.Route("/screen", func(r chi.Router) {
|
||||
r.Get("/", h.screenConfiguration)
|
||||
r.With(auth.CanWatchOnly).Get("/", h.screenConfiguration)
|
||||
r.With(auth.CanWatchOnly).Get("/image", h.screenImageGet)
|
||||
|
||||
r.With(auth.AdminsOnly).Post("/", h.screenConfigurationChange)
|
||||
r.With(auth.AdminsOnly).Get("/configurations", h.screenConfigurationsList)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue