file_manager: fix thumbnails endpoint registration
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
55e852cd87
commit
fb618a46fd
|
@ -90,6 +90,8 @@ class FileManager:
|
|||
"/server/files/list", ['GET'], self._handle_filelist_request)
|
||||
self.server.register_endpoint(
|
||||
"/server/files/metadata", ['GET'], self._handle_metadata_request)
|
||||
self.server.register_endpoint(
|
||||
"/server/files/thumbnails", ['GET'], self._handle_list_thumbs)
|
||||
self.server.register_endpoint(
|
||||
"/server/files/roots", ['GET'], self._handle_list_roots)
|
||||
self.server.register_endpoint(
|
||||
|
@ -104,9 +106,6 @@ class FileManager:
|
|||
self.server.register_endpoint(
|
||||
"/server/files/delete_file", ['DELETE'], self._handle_file_delete,
|
||||
transports=["websocket"])
|
||||
self.server.register_endpoint(
|
||||
"/server/files/thumbnails", ['GET'], self._handle_list_thumbs,
|
||||
transports=["websocket"])
|
||||
# register client notificaitons
|
||||
self.server.register_notification("file_manager:filelist_changed")
|
||||
|
||||
|
|
Loading…
Reference in New Issue