upload dialog API.

This commit is contained in:
Miroslav Šedivý 2021-01-17 23:50:03 +01:00
parent 98dc08cba9
commit 2b3bb6e21a
4 changed files with 126 additions and 0 deletions

View file

@ -69,6 +69,7 @@ func (h *RoomHandler) Route(r chi.Router) {
r.With(h.uploadMiddleware).Route("/upload", func(r chi.Router) {
r.Post("/drop", h.uploadDrop)
r.Post("/dialog", h.uploadDialog)
})
}