shot.jpg.

This commit is contained in:
Miroslav Šedivý 2021-01-23 15:23:10 +01:00
parent fdd98377b3
commit 1ffbe337d4
2 changed files with 3 additions and 2 deletions

View file

@ -62,7 +62,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("/shot.jpg", h.screenShotGet)
r.With(auth.CanWatchOnly).Get("/cast.jpg", h.screenCastGet)
r.With(auth.AdminsOnly).Post("/", h.screenConfigurationChange)