mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-05 12:22:52 +02:00
implement file drop API.
This commit is contained in:
parent
64187964d4
commit
62ba53dc46
4 changed files with 54 additions and 0 deletions
|
@ -60,4 +60,8 @@ func (h *RoomHandler) Route(r chi.Router) {
|
|||
r.With(auth.AdminsOnly).Post("/", h.screenConfigurationChange)
|
||||
r.With(auth.AdminsOnly).Get("/configurations", h.screenConfigurationsList)
|
||||
})
|
||||
|
||||
r.Route("/drop", func(r chi.Router) {
|
||||
r.With(auth.AdminsOnly).Post("/", h.dropFiles)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue