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)
|
"/server/files/list", ['GET'], self._handle_filelist_request)
|
||||||
self.server.register_endpoint(
|
self.server.register_endpoint(
|
||||||
"/server/files/metadata", ['GET'], self._handle_metadata_request)
|
"/server/files/metadata", ['GET'], self._handle_metadata_request)
|
||||||
|
self.server.register_endpoint(
|
||||||
|
"/server/files/thumbnails", ['GET'], self._handle_list_thumbs)
|
||||||
self.server.register_endpoint(
|
self.server.register_endpoint(
|
||||||
"/server/files/roots", ['GET'], self._handle_list_roots)
|
"/server/files/roots", ['GET'], self._handle_list_roots)
|
||||||
self.server.register_endpoint(
|
self.server.register_endpoint(
|
||||||
|
@ -104,9 +106,6 @@ class FileManager:
|
||||||
self.server.register_endpoint(
|
self.server.register_endpoint(
|
||||||
"/server/files/delete_file", ['DELETE'], self._handle_file_delete,
|
"/server/files/delete_file", ['DELETE'], self._handle_file_delete,
|
||||||
transports=["websocket"])
|
transports=["websocket"])
|
||||||
self.server.register_endpoint(
|
|
||||||
"/server/files/thumbnails", ['GET'], self._handle_list_thumbs,
|
|
||||||
transports=["websocket"])
|
|
||||||
# register client notificaitons
|
# register client notificaitons
|
||||||
self.server.register_notification("file_manager:filelist_changed")
|
self.server.register_notification("file_manager:filelist_changed")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue