mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-20 12:37:06 +02:00
lazy screencast.
This commit is contained in:
parent
75393905e8
commit
fdd98377b3
5 changed files with 83 additions and 30 deletions
|
@ -63,7 +63,7 @@ func (h *RoomHandler) Route(r chi.Router) {
|
|||
r.Route("/screen", func(r chi.Router) {
|
||||
r.With(auth.CanWatchOnly).Get("/", h.screenConfiguration)
|
||||
r.With(auth.CanWatchOnly).Get("/image", h.screenImageGet)
|
||||
r.With(auth.CanWatchOnly).Get("/cast", h.screenCastGet)
|
||||
r.With(auth.CanWatchOnly).Get("/cast.jpg", h.screenCastGet)
|
||||
|
||||
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