diff --git a/moonraker/components/file_manager/file_manager.py b/moonraker/components/file_manager/file_manager.py index e8efbe5..a26a44c 100644 --- a/moonraker/components/file_manager/file_manager.py +++ b/moonraker/components/file_manager/file_manager.py @@ -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")